rtc: isl12022: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 22 Mar 2018 19:53:28 +0000 (14:53 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 3 Apr 2018 14:40:46 +0000 (16:40 +0200)
commitc1f5f0549d62c534d3d102b87c856a8907862d8f
treedc16d69cd9f2fb7f49dfbc0c9b1674fe00853792
parent7bbd523c73c9fe0dac7938065f7f5a7167f59b5d
rtc: isl12022: 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: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl12022.c