HID: hid-ntrig: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 6 Mar 2018 00:06:24 +0000 (18:06 -0600)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Mar 2018 14:19:13 +0000 (15:19 +0100)
commit04230f46025536896b15af22d8fae7fa519f9740
treeae8171d01bc0230c80aa82e1ae22e24750df326c
parent336fd4f5f25157e9e8bd50e898a1bbcd99eaea46
HID: hid-ntrig: 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>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ntrig.c