Skip to content

Commit

Permalink
parisc: Directly call machine_power_off() in power button driver
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <deller@gmx.de>
Tested-by: Matt Turner <mattst88@gmail.com>
  • Loading branch information
Helge Deller committed Mar 27, 2018
1 parent 24002d5 commit c14b302
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/parisc/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ static void process_shutdown(void)
/* send kill signal */
if (kill_cad_pid(SIGINT, 1)) {
/* just in case killing init process failed */
if (pm_power_off)
pm_power_off();
machine_power_off();
}
}
}
Expand Down

0 comments on commit c14b302

Please sign in to comment.