public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ARM: highbank: Switch to new sys-off handler API
@ 2024-06-10 12:59 Andrew Davis
  2024-06-10 12:59 ` [PATCH 2/6] ARM: imx: " Andrew Davis
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Andrew Davis @ 2024-06-10 12:59 UTC (permalink / raw)
  To: Andre Przywara, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, Daniel Mack,
	Haojian Zhuang, Robert Jarzmik
  Cc: linux-arm-kernel, linux-kernel, imx, Andrew Davis

Kernel now supports chained power-off handlers. Use
register_platform_power_off() that registers a platform level power-off
handler. Legacy pm_power_off() will be removed once all drivers and archs
are converted to the new sys-off API.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 arch/arm/mach-highbank/highbank.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c
index 5d4f977ac7d2a..47335c7dadf8d 100644
--- a/arch/arm/mach-highbank/highbank.c
+++ b/arch/arm/mach-highbank/highbank.c
@@ -143,7 +143,7 @@ static void __init highbank_init(void)
 	sregs_base = of_iomap(np, 0);
 	WARN_ON(!sregs_base);
 
-	pm_power_off = highbank_power_off;
+	register_platform_power_off(highbank_power_off);
 	highbank_pm_init();
 
 	bus_register_notifier(&platform_bus_type, &highbank_platform_nb);
-- 
2.39.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-17  2:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10 12:59 [PATCH 1/6] ARM: highbank: Switch to new sys-off handler API Andrew Davis
2024-06-10 12:59 ` [PATCH 2/6] ARM: imx: " Andrew Davis
2024-06-17  2:07   ` Shawn Guo
2024-06-10 12:59 ` [PATCH 3/6] ARM: orion5x: " Andrew Davis
2024-06-10 13:46   ` Andrew Lunn
2024-06-10 12:59 ` [PATCH 4/6] ARM: pxa: " Andrew Davis
2024-06-10 12:59 ` [PATCH 5/6] ARM: sa1100: " Andrew Davis
2024-06-10 12:59 ` [PATCH 6/6] ARM: vt8500: " Andrew Davis
2024-06-10 15:10 ` [PATCH 1/6] ARM: highbank: " Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox