diff options
author | Helge Deller <deller@gmx.de> | 2018-03-24 21:00:14 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-03-27 18:52:22 +0200 |
commit | c14b302c44f61dce219e1f4026d3c9248e81fbd2 (patch) | |
tree | b65606856d445600c039ad2f1d7f5300bb28be46 /drivers/parisc | |
parent | 24002d59376e2d19a2a523fe88d5b32e691a43af (diff) | |
download | lwn-c14b302c44f61dce219e1f4026d3c9248e81fbd2.tar.gz lwn-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 'drivers/parisc')
-rw-r--r-- | drivers/parisc/power.c | 3 |
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(); } } } |