From: Andrew Davis <afd@ti.com>
To: Andre Przywara <andre.przywara@arm.com>,
Russell King <linux@armlinux.org.uk>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Gregory Clement <gregory.clement@bootlin.com>,
Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Robert Jarzmik <robert.jarzmik@free.fr>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <imx@lists.linux.dev>,
Andrew Davis <afd@ti.com>
Subject: [PATCH v2 1/7] ARM: highbank: Switch to new sys-off handler API
Date: Mon, 29 Jul 2024 07:35:32 -0500 [thread overview]
Message-ID: <20240729123538.175704-2-afd@ti.com> (raw)
In-Reply-To: <20240729123538.175704-1-afd@ti.com>
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>
Reviewed-by: Andre Przywara <andre.przywara@arm.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
next prev parent reply other threads:[~2024-07-29 12:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 12:35 [PATCH v2 0/7] Switch more ARM plats to sys-off handler API Andrew Davis
2024-07-29 12:35 ` Andrew Davis [this message]
2024-07-29 12:35 ` [PATCH v2 2/7] ARM: imx: Switch to new " Andrew Davis
2024-07-29 12:35 ` [PATCH v2 3/7] ARM: orion5x: " Andrew Davis
2024-09-02 14:28 ` Gregory CLEMENT
2024-07-29 12:35 ` [PATCH v2 4/7] ARM: pxa: " Andrew Davis
2024-07-29 12:35 ` [PATCH v2 5/7] ARM: sa1100: " Andrew Davis
2024-07-29 12:35 ` [PATCH v2 6/7] ARM: vt8500: " Andrew Davis
2024-07-29 12:35 ` [PATCH v2 7/7] arm/xen: " Andrew Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240729123538.175704-2-afd@ti.com \
--to=afd@ti.com \
--cc=andre.przywara@arm.com \
--cc=andrew@lunn.ch \
--cc=daniel@zonque.org \
--cc=festevam@gmail.com \
--cc=gregory.clement@bootlin.com \
--cc=haojian.zhuang@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=robert.jarzmik@free.fr \
--cc=s.hauer@pengutronix.de \
--cc=sebastian.hesselbarth@gmail.com \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).