]> git.baikalelectronics.ru Git - kernel.git/commit
macintosh/ams-input: Use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 24 Jan 2018 01:48:46 +0000 (19:48 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 28 Jan 2018 06:21:17 +0000 (17:21 +1100)
commitb4619a6e1d3bb8252079f3e1e3597e71256e5b70
treea68f714164feee1f1ab73e44e946050ba938bffe
parent89557ed9d12af2cc2e346400ee4589cbcd9b41c9
macintosh/ams-input: 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: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/ams/ams-input.c