]> asedeno.scripts.mit.edu Git - linux.git/commit
char: lp: use true or false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 23 Jan 2018 15:35:29 +0000 (09:35 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2018 09:56:02 +0000 (10:56 +0100)
commit9ff6576e124b1227c27c1da43fe5f8ee908263e0
treec47a6cde74b97105d684cebd47c6a3c518750914
parentaac6830ec1cb681544212838911cdc57f2638216
char: lp: use true or 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/lp.c