summaryrefslogtreecommitdiff
path: root/drivers/parisc/power.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-03-24 23:00:14 +0300
committerHelge Deller <deller@gmx.de>2018-03-27 19:52:22 +0300
commitc14b302c44f61dce219e1f4026d3c9248e81fbd2 (patch)
treeb65606856d445600c039ad2f1d7f5300bb28be46 /drivers/parisc/power.c
parent24002d59376e2d19a2a523fe88d5b32e691a43af (diff)
downloadlinux-c14b302c44f61dce219e1f4026d3c9248e81fbd2.tar.xz
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>
Diffstat (limited to 'drivers/parisc/power.c')
-rw-r--r--drivers/parisc/power.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c
index e2a3112f1c98..ebaf6867b457 100644
--- a/drivers/parisc/power.c
+++ b/drivers/parisc/power.c
@@ -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();
}
}
}