summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/lgdt3306a.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 10:56:10 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-03-03 10:34:12 -0300
commitc43e6512058d21f8c2b73856cc2c7f32b032ccdc (patch)
tree8bc5851d90c9cd369fe35921d94a626505b41b0f /drivers/media/dvb-frontends/lgdt3306a.c
parent4937ba94a0b024b15711b7c184dc4e5a660d900c (diff)
[media] lgdt3306a: Use IS_ENABLED() for attach function
Simplify the check if CONFIG_DVB_LGDT3306A is enabled, use the IS_ENABLED() macro, just like the other frontend modules. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.c')
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c
index 99128d2afebb..c8af071ce40b 100644
--- a/drivers/media/dvb-frontends/lgdt3306a.c
+++ b/drivers/media/dvb-frontends/lgdt3306a.c
@@ -1662,7 +1662,7 @@ static void lgdt3306a_release(struct dvb_frontend *fe)
static struct dvb_frontend_ops lgdt3306a_ops;
struct dvb_frontend *lgdt3306a_attach(const struct lgdt3306a_config *config,
- struct i2c_adapter *i2c_adap)
+ struct i2c_adapter *i2c_adap)
{
struct lgdt3306a_state *state = NULL;
int ret;