]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: ipu-csi: bool test doesn't need a comparison to false
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 9 May 2015 16:08:25 +0000 (13:08 -0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 30 Oct 2015 16:13:47 +0000 (17:13 +0100)
commit48619bd83018230902b8916a5a625a221a3f2299
treeeb6dd39b91834d027797217ff9b3f82cf3255240
parentd4b7198c826c2623452ec881d49138c5c732e01c
gpu: ipu-v3: ipu-csi: bool test doesn't need a comparison to false

Bool initializations should use true and false. Bool tests don't need
comparisons. Based on contributions from Joe Perches, Rusty Russell
and Bruce W Allan.

The semantic patch that makes this change is available
in scripts/coccinelle/misc/boolinit.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-csi.c