From c14b302c44f61dce219e1f4026d3c9248e81fbd2 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sat, 24 Mar 2018 21:00:14 +0100 Subject: parisc: Directly call machine_power_off() in power button driver Signed-off-by: Helge Deller Tested-by: Matt Turner --- drivers/parisc/power.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/parisc/power.c') 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(); } } } -- cgit v1.2.3