]> git.baikalelectronics.ru Git - kernel.git/commit
USB: misc: chaoskey: Use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 23 Jan 2018 15:41:38 +0000 (09:41 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jan 2018 07:49:51 +0000 (08:49 +0100)
commit0a8c34675eff2c3333d920a1353a9a5c7575b656
tree2c9bb5a2b30a76b73680d073379f9acc924bd849
parent9842e7f55cb1984d431473eb5a8c28499746bd83
USB: misc: chaoskey: Use true and false for boolean values

Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/chaoskey.c