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)
commit6dd0d0e1ae7f3e129c6943cd351d47d194bde238
treeeb6dd39b91834d027797217ff9b3f82cf3255240
parent25cb62b76430a91cc6195f902e61c2cb84ade622
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