[media] use IS_ENABLED() macro
authorPeter Senna Tschudin <peter.senna@gmail.com>
Sun, 20 Jan 2013 04:32:56 +0000 (01:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 11:24:09 +0000 (09:24 -0200)
commit7b34be71db533f3e0cf93d53cf62d036cdb5418a
treee56ffc7b741157b73b1bebe23523eaaa4f482eb2
parentffe4db06fdd294a3326e2f1009863825c0f6401c
[media] use IS_ENABLED() macro

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 <mchehab@redhat.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
61 files changed:
drivers/media/dvb-frontends/bcm3510.h
drivers/media/dvb-frontends/cx22700.h
drivers/media/dvb-frontends/cx24110.h
drivers/media/dvb-frontends/dib0070.h
drivers/media/dvb-frontends/dib0090.h
drivers/media/dvb-frontends/dib3000.h
drivers/media/dvb-frontends/dib8000.h
drivers/media/dvb-frontends/dib9000.h
drivers/media/dvb-frontends/dvb-pll.h
drivers/media/dvb-frontends/isl6405.h
drivers/media/dvb-frontends/isl6421.h
drivers/media/dvb-frontends/isl6423.h
drivers/media/dvb-frontends/itd1000.h
drivers/media/dvb-frontends/l64781.h
drivers/media/dvb-frontends/lgdt330x.h
drivers/media/dvb-frontends/mb86a16.h
drivers/media/dvb-frontends/mt312.h
drivers/media/dvb-frontends/mt352.h
drivers/media/dvb-frontends/nxt200x.h
drivers/media/dvb-frontends/nxt6000.h
drivers/media/dvb-frontends/or51132.h
drivers/media/dvb-frontends/or51211.h
drivers/media/dvb-frontends/s5h1420.h
drivers/media/dvb-frontends/sp8870.h
drivers/media/dvb-frontends/sp887x.h
drivers/media/dvb-frontends/stb0899_drv.h
drivers/media/dvb-frontends/stb6100.h
drivers/media/dvb-frontends/stv0297.h
drivers/media/dvb-frontends/stv0299.h
drivers/media/dvb-frontends/stv090x.h
drivers/media/dvb-frontends/stv6110x.h
drivers/media/dvb-frontends/tda1002x.h
drivers/media/dvb-frontends/tda1004x.h
drivers/media/dvb-frontends/tda10086.h
drivers/media/dvb-frontends/tda665x.h
drivers/media/dvb-frontends/tda8083.h
drivers/media/dvb-frontends/tda8261.h
drivers/media/dvb-frontends/tda826x.h
drivers/media/dvb-frontends/tua6100.h
drivers/media/dvb-frontends/ves1820.h
drivers/media/dvb-frontends/ves1x93.h
drivers/media/dvb-frontends/zl10353.h
drivers/media/pci/cx88/cx88-dvb.c
drivers/media/pci/cx88/cx88-vp3054-i2c.h
drivers/media/tuners/mt2060.h
drivers/media/tuners/mt2063.h
drivers/media/tuners/mt20xx.h
drivers/media/tuners/mt2131.h
drivers/media/tuners/mt2266.h
drivers/media/tuners/mxl5007t.h
drivers/media/tuners/qt1010.h
drivers/media/tuners/tda18271.h
drivers/media/tuners/tda827x.h
drivers/media/tuners/tda8290.h
drivers/media/tuners/tda9887.h
drivers/media/tuners/tea5761.h
drivers/media/tuners/tea5767.h
drivers/media/tuners/tuner-simple.h
drivers/media/tuners/tuner-xc2028.h
drivers/media/tuners/xc4000.h
drivers/media/v4l2-core/v4l2-device.c