Commit c14b302c authored by Helge Deller's avatar Helge Deller

parisc: Directly call machine_power_off() in power button driver

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Tested-by: default avatarMatt Turner <mattst88@gmail.com>
parent 24002d59
......@@ -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();
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment