parisc: Directly call machine_power_off() in power button driver
Signed-off-by: Helge Deller <deller@gmx.de> Tested-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
24002d5937
commit
c14b302c44
1 changed files with 1 additions and 2 deletions
|
@ -95,8 +95,7 @@ static void process_shutdown(void)
|
||||||
/* send kill signal */
|
/* send kill signal */
|
||||||
if (kill_cad_pid(SIGINT, 1)) {
|
if (kill_cad_pid(SIGINT, 1)) {
|
||||||
/* just in case killing init process failed */
|
/* just in case killing init process failed */
|
||||||
if (pm_power_off)
|
machine_power_off();
|
||||||
pm_power_off();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue