diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-07 08:59:38 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-06-12 19:48:56 -0700 |
commit | 7561dfbf3b3451957c5d3fc52f53c78e78ed3034 (patch) | |
tree | 9888ce0b5feae5969c04ebc2aaba66dda600bc82 /arch/xtensa/include | |
parent | 11976fe2a47aa952b8fec54bc2bd54d57642f650 (diff) | |
download | linux-7561dfbf3b3451957c5d3fc52f53c78e78ed3034.tar.gz linux-7561dfbf3b3451957c5d3fc52f53c78e78ed3034.tar.bz2 linux-7561dfbf3b3451957c5d3fc52f53c78e78ed3034.zip |
xtensa: drop platform_halt and platform_power_off
Instead of using xtensa-specific platform_halt and platform_power_off
callbacks use do_kernel_power_off in the machine_halt and
machine_power_off and reimplement existing platform_halt and
platform_power_off users with register_sys_off_handler.
Drop platform_halt and platform_power_off declarations and default
implementations.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/platform.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h index 5b3c1f96f7b5..94f13fabf7cd 100644 --- a/arch/xtensa/include/asm/platform.h +++ b/arch/xtensa/include/asm/platform.h @@ -28,16 +28,6 @@ extern void platform_init(bp_tag_t*); extern void platform_setup (char **); /* - * platform_halt is called to stop the system and halt. - */ -extern void platform_halt (void); - -/* - * platform_power_off is called to stop the system and power it off. - */ -extern void platform_power_off (void); - -/* * platform_idle is called from the idle function. */ extern void platform_idle (void); |