From e71d47dc2a6c9a1ec83f015c7c3dd87b635ffcda Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sat, 12 Aug 2023 23:21:08 +0200 Subject: 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 --- arch/parisc/kernel/process.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'arch/parisc') 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. */ -- cgit v1.2.3