[media] fc001[23]: Change variable type to bool
authorPeter Senna Tschudin <peter.senna@gmail.com>
Mon, 30 Sep 2013 16:00:26 +0000 (13:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 2 Oct 2013 09:48:14 +0000 (06:48 -0300)
commitf5ca8c24eca0c01e2794669c4460eb3e5ee5fd7e
treeb5ef4513ecd65508c20cb4941f3025d611efa06d
parent503f2de78d8358ca6feee07871ac6a0cf160a75e
[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>
drivers/media/tuners/fc0012.c
drivers/media/tuners/fc0013.c