macintosh: change some data types from int to bool
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 24 Jan 2018 01:42:28 +0000 (19:42 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 28 Jan 2018 06:21:09 +0000 (17:21 +1100)
commit4f256d561447c6e1bf8b70e19daae08da4279f1c
tree9b442a12e7ee24a456f52fe3c05f1d0f8e25576f
parent0bc00914010e3826a3d168d1c879f79800a11bae
macintosh: change some data types from int to bool

Change the data type of the following variables from int to bool
across all macintosh drivers:

started
slots_started
pm121_started
wf_smu_started

Some of these issues were detected with the help of Coccinelle.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/therm_adt746x.c
drivers/macintosh/windfarm_pm112.c
drivers/macintosh/windfarm_pm121.c
drivers/macintosh/windfarm_pm72.c
drivers/macintosh/windfarm_pm81.c
drivers/macintosh/windfarm_pm91.c
drivers/macintosh/windfarm_rm31.c