Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -2
+1 -2
drivers/parisc/power.c
··· 95 95 /* send kill signal */ 96 96 if (kill_cad_pid(SIGINT, 1)) { 97 97 /* just in case killing init process failed */ 98 - if (pm_power_off) 99 - pm_power_off(); 98 + machine_power_off(); 100 99 } 101 100 } 102 101 }