summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2832_sdr.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 15:25:39 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 17:59:16 -0300
commit2fe15e201375ced4f2d1e9504f6ea19f6ffcae18 (patch)
treeb51a82bae9e8375ffa0c2c830338ca6d6e0bbfc2 /drivers/media/dvb-frontends/rtl2832_sdr.c
parentafbd6eb4ba25388955a87caa9ffac5c5c0d1c22e (diff)
downloadop-kernel-dev-2fe15e201375ced4f2d1e9504f6ea19f6ffcae18.zip
op-kernel-dev-2fe15e201375ced4f2d1e9504f6ea19f6ffcae18.tar.gz
[media] af9013: use true/false for boolean vars
Instead of using 0 or 1 for boolean, use the true/false defines. Also, instead of testing foo == false, just use the simplified notation if(!foo). Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832_sdr.c')
-rw-r--r--drivers/media/dvb-frontends/rtl2832_sdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832_sdr.c b/drivers/media/dvb-frontends/rtl2832_sdr.c
index 023e0f4..5bcf48b 100644
--- a/drivers/media/dvb-frontends/rtl2832_sdr.c
+++ b/drivers/media/dvb-frontends/rtl2832_sdr.c
@@ -1432,7 +1432,7 @@ struct dvb_frontend *rtl2832_sdr_attach(struct dvb_frontend *fe,
s->pixelformat = formats[0].pixelformat;
s->buffersize = formats[0].buffersize;
s->num_formats = NUM_FORMATS;
- if (rtl2832_sdr_emulated_fmt == false)
+ if (!rtl2832_sdr_emulated_fmt)
s->num_formats -= 1;
mutex_init(&s->v4l2_lock);
OpenPOWER on IntegriCloud