[PATCH 00/21] Power supply register with devm

Andrew Davis
2024-01-23T16:37:03Z

Hello all,

This is a semi-automated series converting several drivers
under power/supply over to using devm_power_supply_register().
The more trivial cases are first, the last 3 drivers needed
a little pre-work to convert their IIO uses over to devm before
power_supply_register() could be switched.

Thanks,
Andrew

Andrew Davis (21):
power: supply: da9030: Use devm_power_supply_register() helper
power: supply: da9052: Use devm_power_supply_register() helper
power: supply: ds2760: Use devm_power_supply_register() helper
power: supply: goldfish: Use devm_power_supply_register() helper
power: supply: lp8727: Use devm_power_supply_register() helper
power: supply: lp8788: Use devm_power_supply_register() helper
power: supply: max14577: Use devm_power_supply_register() helper
power: supply: max77693: Use devm_power_supply_register() helper
power: supply: max8925: Use devm_power_supply_register() helper
power: supply: pcf50633: Use devm_power_supply_register() helper
power: supply: rt5033: Use devm_power_supply_register() helper
power: supply: tps65090: Use devm_power_supply_register() helper
power: supply: wm831x: Use devm_power_supply_register() helper
power: supply: wm831x: Use devm_power_supply_register() helper
power: supply: wm8350: Use devm_power_supply_register() helper
power: supply: da9150: Use devm_iio_channel_get() helper
power: supply: da9150: Use devm_power_supply_register() helper
power: supply: rx51: Use devm_iio_channel_get() helper
power: supply: rx51: Use devm_power_supply_register() helper
power: supply: twl4030_madc: Use devm_iio_channel_get() helper
power: supply: twl4030_madc: Use devm_power_supply_register() helper

drivers/power/supply/da9030_battery.c | 6 +-
drivers/power/supply/da9052-battery.c | 4 +-
drivers/power/supply/da9150-charger.c | 72 ++++++---------------
drivers/power/supply/ds2760_battery.c | 4 +-
drivers/power/supply/goldfish_battery.c | 24 ++-----
drivers/power/supply/lp8727_charger.c | 35 ++--------
drivers/power/supply/lp8788-charger.c | 21 ++----
drivers/power/supply/max14577_charger.c | 6 +-
drivers/power/supply/max77693_charger.c | 8 +--
drivers/power/supply/max8925_power.c | 36 +++--------
drivers/power/supply/pcf50633-charger.c | 23 +++----
drivers/power/supply/rt5033_battery.c | 14 +---
drivers/power/supply/rx51_battery.c | 57 ++++------------
drivers/power/supply/tps65090-charger.c | 18 ++----
drivers/power/supply/twl4030_madc_battery.c | 59 ++++-------------
drivers/power/supply/wm831x_backup.c | 13 +---
drivers/power/supply/wm831x_power.c | 24 +++----
drivers/power/supply/wm8350_power.c | 29 ++-------
18 files changed, 121 insertions(+), 332 deletions(-)

--
2.39.2