[PATCH 0/4] Deprecate register_restart_handler()

Andrew Davis afd at ti.com
Tue Jan 23 08:44:39 PST 2024


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




More information about the linux-arm-kernel mailing list