[media] [V2,24/24] v4l2-core/v4l2-common.c: use IS_ENABLED() macro
authorPeter Senna Tschudin <peter.senna@gmail.com>
Sat, 19 Jan 2013 22:41:31 +0000 (19:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 11:20:59 +0000 (09:20 -0200)
commitffe4db06fdd294a3326e2f1009863825c0f6401c
tree1eea45bebda870087e92ea8c638c3f21344a9922
parent6a29b8080bd99793c86060d0dbebfd81c6aa4281
[media] [V2,24/24] v4l2-core/v4l2-common.c: use IS_ENABLED() macro

replace:
 #if defined(CONFIG_MEDIA_TUNER_TEA5761) || \
     defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE)
with:
 #if IS_ENABLED(CONFIG_MEDIA_TUNER_TEA5761)
This change was made for: CONFIG_MEDIA_TUNER_TEA5761
Also replaced:
 #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) && defined(MODULE))
with:
 #if IS_ENABLED(CONFIG_I2C)

Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-common.c