[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231117161006.87734-1-afd@ti.com>
Date: Fri, 17 Nov 2023 10:10:01 -0600
From: Andrew Davis <afd@...com>
To: Mark Rutland <mark.rutland@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Sebastian Reichel <sre@...nel.org>,
Karol Gugala <kgugala@...micro.com>,
Mateusz Holenko <mholenko@...micro.com>,
Gabriel Somlo <gsomlo@...il.com>,
Joel Stanley <joel@....id.au>, Mark Brown <broonie@...nel.org>,
Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>,
Lee Jones <lee@...nel.org>,
Dmitry Osipenko <dmitry.osipenko@...labora.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-spi@...r.kernel.org>, Andrew Davis <afd@...com>
Subject: [PATCH RFC 0/5] Deprecate register_restart_handler()
Hello all,
Explanation is in patch #1.
The rest of this series is a set of representative examples of converting
away from the old API. They should be valid and can be taken by their
respective maintainers even if patch #1 doesn't find acceptance.
Thanks,
Andrew
Andrew Davis (5):
kernel/reboot: Deprecate register_restart_handler()
drivers/soc/litex: Use devm_register_restart_handler()
power: reset: gpio-restart: Use devm_register_sys_off_handler()
spi: sprd: adi: Use devm_register_restart_handler()
firmware: psci: Use register_sys_off_handler(SYS_OFF_MODE_RESTART)
drivers/firmware/psci/psci.c | 10 ++-------
drivers/power/reset/gpio-restart.c | 34 ++++++++----------------------
drivers/soc/litex/litex_soc_ctrl.c | 23 +++++---------------
drivers/spi/spi-sprd-adi.c | 30 +++++++-------------------
include/linux/reboot.h | 8 +++++--
kernel/reboot.c | 3 +++
6 files changed, 33 insertions(+), 75 deletions(-)
--
2.39.2
Powered by blists - more mailing lists