diff options
author | 2023-08-12 23:21:08 +0200 | |
---|---|---|
committer | 2023-08-20 20:23:46 +0200 | |
commit | e71d47dc2a6c9a1ec83f015c7c3dd87b635ffcda (patch) | |
tree | cefc58243e22f455d8693bf7a2840e309fafeb30 /arch | |
parent | Linux 6.5-rc7 (diff) | |
download | linux-e71d47dc2a6c9a1ec83f015c7c3dd87b635ffcda.tar.gz linux-e71d47dc2a6c9a1ec83f015c7c3dd87b635ffcda.tar.bz2 linux-e71d47dc2a6c9a1ec83f015c7c3dd87b635ffcda.zip |
parisc: lasi: Register LASI power-off feature as sys_off_handler
Prefer the Linux kernel sys_off_handler functionality over a
home-grown implementation.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/process.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index abdbf038d643..62f9b14c6406 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -97,18 +97,12 @@ void machine_restart(char *cmd) } -void (*chassis_power_off)(void); - /* * This routine is called from sys_reboot to actually turn off the * machine */ void machine_power_off(void) { - /* If there is a registered power off handler, call it. */ - if (chassis_power_off) - chassis_power_off(); - /* Put the soft power button back under hardware control. * If the user had already pressed the power button, the * following call will immediately power off. */ |