[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241202194107.105119-3-afd@ti.com>
Date: Mon, 2 Dec 2024 13:41:04 -0600
From: Andrew Davis <afd@...com>
To: Arnd Bergmann <arnd@...db.de>, Andre Przywara <andre.przywara@....com>,
Russell King <linux@...linux.org.uk>, Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik
<robert.jarzmik@...e.fr>,
Alexey Charkov <alchark@...il.com>,
Krzysztof
Kozlowski <krzk@...nel.org>,
Stefano Stabellini <sstabellini@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<xen-devel@...ts.xenproject.org>, Andrew Davis <afd@...com>
Subject: [PATCH v4 2/5] ARM: pxa: Switch to new sys-off handler API
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@...com>
---
arch/arm/mach-pxa/spitz.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 33533e35720f8..c0b1f7e6be874 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -1096,7 +1096,7 @@ static void __init spitz_init(void)
software_node_register(&spitz_scoop_2_gpiochip_node);
init_gpio_reset(SPITZ_GPIO_ON_RESET, 1, 0);
- pm_power_off = spitz_poweroff;
+ register_platform_power_off(spitz_poweroff);
PMCR = 0x00;
--
2.39.2
Powered by blists - more mailing lists