06 Feb, 2013

1 commit

  • This patch introduces the use of IS_ENABLED() macro. For example,
    replacing:
    #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE))
    with:
    #if IS_ENABLED(CONFIG_I2C)
    All changes made by this patch respect the same replacement pattern.

    Reported-by: Mauro Carvalho Chehab
    Signed-off-by: Peter Senna Tschudin
    Acked-by: Antti Palosaari
    Signed-off-by: Mauro Carvalho Chehab

    Peter Senna Tschudin
     

14 Aug, 2012

1 commit