linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Deprecate register_restart_handler()
@ 2024-01-23 16:44 Andrew Davis
  2024-01-23 16:44 ` [PATCH 1/4] kernel/reboot: " Andrew Davis
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Andrew Davis @ 2024-01-23 16:44 UTC (permalink / raw)
  To: Mark Rutland, Lorenzo Pieralisi, Sebastian Reichel, Karol Gugala,
	Mateusz Holenko, Gabriel Somlo, Joel Stanley, Mark Brown,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Lee Jones,
	Dmitry Osipenko
  Cc: linux-arm-kernel, linux-kernel, linux-pm, linux-spi, Andrew Davis

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

Changes from RFC:
 - Add Reviewed-by tag
 - Rebase on v6.8-rc1 and drop taken patch

Andrew Davis (4):
  kernel/reboot: Deprecate register_restart_handler()
  drivers/soc/litex: Use devm_register_restart_handler()
  firmware: psci: Use register_sys_off_handler(SYS_OFF_MODE_RESTART)
  firmware: ti_sci: Use devm_register_restart_handler()

 drivers/firmware/psci/psci.c       | 10 ++--------
 drivers/firmware/ti_sci.c          | 14 +++++---------
 drivers/soc/litex/litex_soc_ctrl.c | 23 +++++------------------
 include/linux/reboot.h             |  8 ++++++--
 kernel/reboot.c                    |  3 +++
 5 files changed, 21 insertions(+), 37 deletions(-)

-- 
2.39.2


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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 16:44 [PATCH 0/4] Deprecate register_restart_handler() Andrew Davis
2024-01-23 16:44 ` [PATCH 1/4] kernel/reboot: " Andrew Davis
2024-01-23 16:44 ` [PATCH 2/4] drivers/soc/litex: Use devm_register_restart_handler() Andrew Davis
2024-01-23 16:44 ` [PATCH 3/4] firmware: psci: Use register_sys_off_handler(SYS_OFF_MODE_RESTART) Andrew Davis
2024-01-23 16:44 ` [PATCH 4/4] firmware: ti_sci: Use devm_register_restart_handler() Andrew Davis
2024-01-23 21:44   ` Gabriel L. Somlo
2024-01-29  2:16   ` kernel test robot

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).