]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89557ed9d12af2cc2e346400ee4589cbcd9b41c9
tree9b442a12e7ee24a456f52fe3c05f1d0f8e25576f
parentd6e122dbb5ceb24d4fbc0101e581225ca99b6854
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