aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/power.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-03-24 21:00:14 +0100
committerHelge Deller <deller@gmx.de>2018-03-27 18:52:22 +0200
commitc14b302c44f61dce219e1f4026d3c9248e81fbd2 (patch)
treeb65606856d445600c039ad2f1d7f5300bb28be46 /drivers/parisc/power.c
parentparisc: machine_power_off() should call pm_power_off() (diff)
downloadlinux-dev-c14b302c44f61dce219e1f4026d3c9248e81fbd2.tar.xz
linux-dev-c14b302c44f61dce219e1f4026d3c9248e81fbd2.zip
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 '')
-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();
}
}
}