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>
This commit is contained in:

committed by
Michael Ellerman

parent
0bc0091401
commit
4f256d5614
@@ -611,7 +611,7 @@ static void pm72_tick(void)
|
||||
int i, last_failure;
|
||||
|
||||
if (!started) {
|
||||
started = 1;
|
||||
started = true;
|
||||
printk(KERN_INFO "windfarm: CPUs control loops started.\n");
|
||||
for (i = 0; i < nr_chips; ++i) {
|
||||
if (cpu_setup_pid(i) < 0) {
|
||||
|
Reference in New Issue
Block a user