OpenCloudOS-Kernel/drivers/staging/crystalhd
Peter Senna Tschudin cdddc28a08 Staging: crystalhd: Fix assignment of 0/1 to bool variables
Convert 0 to false and 1 to true when assigning values to bool
variables. Inspired by commit 3db1cd5c05.

The simplified semantic patch that find this problem is as
follows (http://coccinelle.lip6.fr/):

@@
bool b;
@@
(
-b = 0
+b = false
|
-b = 1
+b = true
)

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-25 16:48:45 -07:00
..
Kconfig
Makefile Staging: crystalhd: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
TODO
bc_dts_defs.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
bc_dts_glob_lnx.h staging/crystalhd: Fixes line over 80 characters warning in bc_dts_glob_lnx.h 2013-05-13 14:24:22 -07:00
bcm_70012_regs.h
crystalhd.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
crystalhd_cmds.c Staging: crystalhd: fixed whitespace and string style issues 2013-08-28 15:28:43 -07:00
crystalhd_cmds.h staging/crystalhd: Fixes line over 80 characters warning in crystalhd_cmds.* 2013-05-13 14:24:20 -07:00
crystalhd_fw_if.h staging/crystalhd: Fixes line over 80 characters warning in crystalhd_fw_if.h 2013-05-13 14:24:20 -07:00
crystalhd_hw.c Staging: crystalhd: Fix assignment of 0/1 to bool variables 2013-09-25 16:48:45 -07:00
crystalhd_hw.h staging/crystalhd: Fixes line over 80 characters warning in crystalhd_hw.* 2013-05-13 14:24:22 -07:00
crystalhd_lnx.c Staging: crystalhd: fixed whitespace and string style issues 2013-08-28 15:28:43 -07:00
crystalhd_lnx.h staging/crystalhd: Fixes line over 80 characters warning in crystalhd_lnx.* 2013-05-13 14:24:21 -07:00
crystalhd_misc.c staging/crystalhd: Fixes line over 80 characters warning in crystalhd_misc.* 2013-05-13 14:24:22 -07:00
crystalhd_misc.h staging: crystalhd: Resolve sparse 'different base types' warnings. 2013-08-30 11:46:46 -07:00