[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f45d823-6ba3-4707-99eb-f8aa60c6b96b@arm.com>
Date: Mon, 10 Jun 2024 16:10:05 +0100
From: Andre Przywara <andre.przywara@....com>
To: Andrew Davis <afd@...com>, Russell King <linux@...linux.org.uk>,
Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Andrew Lunn <andrew@...n.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Gregory Clement <gregory.clement@...tlin.com>,
Daniel Mack <daniel@...que.org>, Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev
Subject: Re: [PATCH 1/6] ARM: highbank: Switch to new sys-off handler API
Hi,
On 10/06/2024 13:59, Andrew Davis wrote:
> 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>
Reviewed-by: Andre Przywara <andre.przywara@....com>
Thanks,
Andre
> ---
> 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);
Powered by blists - more mailing lists