summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc0013.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2013-09-30 18:00:26 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-02 11:48:14 +0200
commitf5ca8c24eca0c01e2794669c4460eb3e5ee5fd7e (patch)
treeb5ef4513ecd65508c20cb4941f3025d611efa06d /drivers/media/tuners/fc0013.c
parent[media] media: dvb-core: prepare for enabling irq in complete() (diff)
downloadlinux-f5ca8c24eca0c01e2794669c4460eb3e5ee5fd7e.tar.xz
linux-f5ca8c24eca0c01e2794669c4460eb3e5ee5fd7e.zip
[media] fc001[23]: Change variable type to bool
The variable vco_select is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Acked-by: Hans-Frieder Vogt <hfvogt@gmx.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/fc0013.c')
-rw-r--r--drivers/media/tuners/fc0013.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/fc0013.c b/drivers/media/tuners/fc0013.c
index bd8f0f1e8f3b..b4162315773d 100644
--- a/drivers/media/tuners/fc0013.c
+++ b/drivers/media/tuners/fc0013.c
@@ -233,7 +233,7 @@ static int fc0013_set_params(struct dvb_frontend *fe)
unsigned char reg[7], am, pm, multi, tmp;
unsigned long f_vco;
unsigned short xtal_freq_khz_2, xin, xdiv;
- int vco_select = false;
+ bool vco_select = false;
if (fe->callback) {
ret = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER,