[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240201180102.70395-1-afd@ti.com>
Date: Thu, 1 Feb 2024 12:00:44 -0600
From: Andrew Davis <afd@...com>
To: Sebastian Reichel <sre@...nel.org>,
Manivannan Sadhasivam
<manivannan.sadhasivam@...aro.org>,
Cristian Ciocaltea
<cristian.ciocaltea@...il.com>,
Florian Fainelli
<florian.fainelli@...adcom.com>,
Ray Jui <rjui@...adcom.com>, Scott Branden
<sbranden@...adcom.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad
Dybcio <konrad.dybcio@...aro.org>,
Sean Wang <sean.wang@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
CC: <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-actions@...ts.infradead.org>, <linux-arm-msm@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, Andrew Davis <afd@...com>
Subject: [PATCH 00/18] Remove pm_power_off use in drivers/power/reset
Hello all,
Use of pm_power_off is considered legacy and should be replaced with
register_sys_off*(). Same for register_restart_handler(). Do this
for the drivers/power/reset subsystem for all trivial cases.
Thanks,
Andrew
Andrew Davis (18):
power: reset: atc260x-poweroff: Use
devm_register_sys_off_handler(RESTART)
power: reset: atc260x-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: xgene-reboot: Use devm_register_sys_off_handler(RESTART)
power: reset: tps65086-restart: Use
devm_register_sys_off_handler(RESTART)
power: reset: tps65086-restart: Remove unneeded device data struct
power: reset: brcm-kona-reset: Use
devm_register_sys_off_handler(RESTART)
power: reset: axxia-reset: Use devm_register_sys_off_handler(RESTART)
power: reset: rmobile-reset: Use devm_platform_ioremap_resource()
helper
power: reset: rmobile-reset: Use
devm_register_sys_off_handler(RESTART)
power: reset: mt6323-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: msm-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: msm-poweroff: Use devm_register_sys_off_handler(RESTART)
power: reset: regulator-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: as3722-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: gemini-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: restart-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
power: reset: syscon-poweroff: Move device data into a struct
power: reset: syscon-poweroff: Use
devm_register_sys_off_handler(POWER_OFF)
drivers/power/reset/as3722-poweroff.c | 30 ++++-------
drivers/power/reset/atc260x-poweroff.c | 55 ++++++++------------
drivers/power/reset/axxia-reset.c | 16 +++---
drivers/power/reset/brcm-kona-reset.c | 18 +++----
drivers/power/reset/gemini-poweroff.c | 16 +++---
drivers/power/reset/msm-poweroff.c | 25 ++++-----
drivers/power/reset/mt6323-poweroff.c | 28 +++++-----
drivers/power/reset/regulator-poweroff.c | 36 +++++--------
drivers/power/reset/restart-poweroff.c | 25 +++------
drivers/power/reset/rmobile-reset.c | 38 +++++---------
drivers/power/reset/syscon-poweroff.c | 66 ++++++++++++------------
drivers/power/reset/tps65086-restart.c | 58 ++++-----------------
drivers/power/reset/xgene-reboot.c | 13 ++---
13 files changed, 158 insertions(+), 266 deletions(-)
--
2.39.2
Powered by blists - more mailing lists