char/tpm: Use true and false for bools
authorPeter Huewe <peterhuewe@gmx.de>
Thu, 29 Nov 2012 21:08:41 +0000 (22:08 +0100)
committerKent Yoder <key@linux.vnet.ibm.com>
Tue, 5 Feb 2013 15:38:22 +0000 (09:38 -0600)
commit73249695f0cb10bb9fc8b294f3f8c4b001889e42
treee674bcf6bfac8d5dacb57b5131c7670d9c742c59
parent348df8db301d9fa01fb51e5eaca1e9f3b27bd4c8
char/tpm: Use true and false for bools

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 output is available
in scripts/coccinelle/misc/boolinit.cocci.

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

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_tis.c