summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 20:24:29 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 22:59:16 +0200
commitafbd6eb4ba25388955a87caa9ffac5c5c0d1c22e (patch)
treecdfec60067f721a808bf15a1ca83f854edc64dd2 /drivers/media
parent[media] cxd2820r: use true/false for boolean vars (diff)
downloadlinux-afbd6eb4ba25388955a87caa9ffac5c5c0d1c22e.tar.xz
linux-afbd6eb4ba25388955a87caa9ffac5c5c0d1c22e.zip
[media] m88ds3103: use true/false for boolean vars
Instead of using 0 or 1 for boolean, use the true/false defines. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/m88ds3103.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c
index 6eae2c619843..81657e94c5a4 100644
--- a/drivers/media/dvb-frontends/m88ds3103.c
+++ b/drivers/media/dvb-frontends/m88ds3103.c
@@ -1063,16 +1063,16 @@ static int m88ds3103_set_voltage(struct dvb_frontend *fe,
switch (fe_sec_voltage) {
case SEC_VOLTAGE_18:
- voltage_sel = 1;
- voltage_dis = 0;
+ voltage_sel = true;
+ voltage_dis = false;
break;
case SEC_VOLTAGE_13:
- voltage_sel = 0;
- voltage_dis = 0;
+ voltage_sel = false;
+ voltage_dis = false;
break;
case SEC_VOLTAGE_OFF:
- voltage_sel = 0;
- voltage_dis = 1;
+ voltage_sel = false;
+ voltage_dis = true;
break;
default:
dev_dbg(&priv->i2c->dev, "%s: invalid fe_sec_voltage\n",