mbox series

[00/32] power: supply: Convert to platform remove callback returning void

Message ID 20230918133700.1254499-1-u.kleine-koenig@pengutronix.de (mailing list archive)
Headers show
Series power: supply: Convert to platform remove callback returning void | expand

Message

Uwe Kleine-König Sept. 18, 2023, 1:36 p.m. UTC
Hello,

this series convert all platform drivers below drivers/power/supply to
use remove_new. The motivation is to get rid of an integer return code
that is (mostly) ignored by the platform driver core and error prone on
the driver side.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

There are no interdependencies between the patches. As there are still
quite a few drivers to convert, I'm happy about every patch that makes
it in. So even if there is a merge conflict with one patch until you
apply, please apply the remainder of this series anyhow.

Best regards
Uwe

Uwe Kleine-König (32):
  power: supply: ab8500_btemp: Convert to platform remove callback
    returning void
  power: supply: ab8500_chargalg: Convert to platform remove callback
    returning void
  power: supply: ab8500_charger: Convert to platform remove callback
    returning void
  power: supply: ab8500_fg: Convert to platform remove callback
    returning void
  power: supply: acer_a500_battery: Convert to platform remove callback
    returning void
  power: supply: act8945a_charger: Convert to platform remove callback
    returning void
  power: supply: charger-manager: Convert to platform remove callback
    returning void
  power: supply: cpcap-battery: Convert to platform remove callback
    returning void
  power: supply: cpcap-charger: Convert to platform remove callback
    returning void
  power: supply: da9030_battery: Convert to platform remove callback
    returning void
  power: supply: da9052-battery: Convert to platform remove callback
    returning void
  power: supply: da9150-charger: Convert to platform remove callback
    returning void
  power: supply: goldfish_battery: Convert to platform remove callback
    returning void
  power: supply: ipaq_micro_battery: Convert to platform remove callback
    returning void
  power: supply: isp1704_charger: Convert to platform remove callback
    returning void
  power: supply: lp8788-charger: Convert to platform remove callback
    returning void
  power: supply: max14577_charger: Convert to platform remove callback
    returning void
  power: supply: max77650-charger: Convert to platform remove callback
    returning void
  power: supply: max77693_charger: Convert to platform remove callback
    returning void
  power: supply: max8925_power: Convert to platform remove callback
    returning void
  power: supply: pcf50633-charger: Convert to platform remove callback
    returning void
  power: supply: qcom_smbb: Convert to platform remove callback
    returning void
  power: supply: rx51_battery: Convert to platform remove callback
    returning void
  power: supply: sc2731_charger: Convert to platform remove callback
    returning void
  power: supply: tps65090-charger: Convert to platform remove callback
    returning void
  power: supply: tps65217_charger: Convert to platform remove callback
    returning void
  power: supply: twl4030_charger: Convert to platform remove callback
    returning void
  power: supply: twl4030_madc_battery: Convert to platform remove
    callback returning void
  power: supply: wm831x_backup: Convert to platform remove callback
    returning void
  power: supply: wm831x_power: Convert to platform remove callback
    returning void
  power: supply: wm8350_power: Convert to platform remove callback
    returning void
  power: supply: wm97xx_battery: Convert to platform remove callback
    returning void

 drivers/power/supply/ab8500_btemp.c         | 6 ++----
 drivers/power/supply/ab8500_chargalg.c      | 6 ++----
 drivers/power/supply/ab8500_charger.c       | 6 ++----
 drivers/power/supply/ab8500_fg.c            | 6 ++----
 drivers/power/supply/acer_a500_battery.c    | 6 ++----
 drivers/power/supply/act8945a_charger.c     | 6 ++----
 drivers/power/supply/charger-manager.c      | 6 ++----
 drivers/power/supply/cpcap-battery.c        | 6 ++----
 drivers/power/supply/cpcap-charger.c        | 6 ++----
 drivers/power/supply/da9030_battery.c       | 6 ++----
 drivers/power/supply/da9052-battery.c       | 6 ++----
 drivers/power/supply/da9150-charger.c       | 6 ++----
 drivers/power/supply/goldfish_battery.c     | 5 ++---
 drivers/power/supply/ipaq_micro_battery.c   | 6 ++----
 drivers/power/supply/isp1704_charger.c      | 6 ++----
 drivers/power/supply/lp8788-charger.c       | 6 ++----
 drivers/power/supply/max14577_charger.c     | 6 ++----
 drivers/power/supply/max77650-charger.c     | 6 ++----
 drivers/power/supply/max77693_charger.c     | 6 ++----
 drivers/power/supply/max8925_power.c        | 5 ++---
 drivers/power/supply/pcf50633-charger.c     | 6 ++----
 drivers/power/supply/qcom_smbb.c            | 6 ++----
 drivers/power/supply/rx51_battery.c         | 6 ++----
 drivers/power/supply/sc2731_charger.c       | 6 ++----
 drivers/power/supply/tps65090-charger.c     | 6 ++----
 drivers/power/supply/tps65217_charger.c     | 6 ++----
 drivers/power/supply/twl4030_charger.c      | 6 ++----
 drivers/power/supply/twl4030_madc_battery.c | 6 ++----
 drivers/power/supply/wm831x_backup.c        | 6 ++----
 drivers/power/supply/wm831x_power.c         | 5 ++---
 drivers/power/supply/wm8350_power.c         | 5 ++---
 drivers/power/supply/wm97xx_battery.c       | 5 ++---
 32 files changed, 64 insertions(+), 123 deletions(-)


base-commit: 7fc7222d9680366edeecc219c21ca96310bdbc10

Comments

Sebastian Reichel Sept. 18, 2023, 6:12 p.m. UTC | #1
On Mon, 18 Sep 2023 15:36:28 +0200, Uwe Kleine-König wrote:
> this series convert all platform drivers below drivers/power/supply to
> use remove_new. The motivation is to get rid of an integer return code
> that is (mostly) ignored by the platform driver core and error prone on
> the driver side.
> 
> See commit 5c5a7680e67b ("platform: Provide a remove callback that
> returns no value") for an extended explanation and the eventual goal.
> 
> [...]

Applied, thanks!

[01/32] power: supply: ab8500_btemp: Convert to platform remove callback returning void
        commit: dab952c77e5a0bad3a391b8cbb6995f32c9a7b6d
[02/32] power: supply: ab8500_chargalg: Convert to platform remove callback returning void
        commit: 465ec888880be0f3170b97a0e975bcb1e9b6961b
[03/32] power: supply: ab8500_charger: Convert to platform remove callback returning void
        commit: c5b08e1bfe087c42e43e64f308b16c6f79444dc9
[04/32] power: supply: ab8500_fg: Convert to platform remove callback returning void
        commit: 59016f4c0e106ec9ba3ac039bf7e96a474648ea6
[05/32] power: supply: acer_a500_battery: Convert to platform remove callback returning void
        commit: 179297b95198526fbef8f6b92f1b486502144861
[06/32] power: supply: act8945a_charger: Convert to platform remove callback returning void
        commit: 7a9a4966777b8df6e6f97f82073f4736a5274358
[07/32] power: supply: charger-manager: Convert to platform remove callback returning void
        commit: 403eebf95c38302cacc48c127e575461f0e798be
[08/32] power: supply: cpcap-battery: Convert to platform remove callback returning void
        commit: 02fecba679bbac3b16c2245e8e462b19fb36cedd
[09/32] power: supply: cpcap-charger: Convert to platform remove callback returning void
        commit: 1abbcff9f0c087e88ae542e0d6b0ee0689881027
[10/32] power: supply: da9030_battery: Convert to platform remove callback returning void
        commit: b5ba26ab7a886567759b793161cdd0aae4a76910
[11/32] power: supply: da9052-battery: Convert to platform remove callback returning void
        commit: ac67d7fd4e1bad9eac25c3a1a07e4aceda6e1ce3
[12/32] power: supply: da9150-charger: Convert to platform remove callback returning void
        commit: 749e18a800569e894e82fb5f68edd447311f9675
[13/32] power: supply: goldfish_battery: Convert to platform remove callback returning void
        commit: df1953bcb723538faff6ebb403ac321797f3b04f
[14/32] power: supply: ipaq_micro_battery: Convert to platform remove callback returning void
        commit: cbc3e1136d1f8b934cc41b4bc12f5c732d543c59
[15/32] power: supply: isp1704_charger: Convert to platform remove callback returning void
        commit: cf79047ed4a33704dd465723175041c22091d24c
[16/32] power: supply: lp8788-charger: Convert to platform remove callback returning void
        commit: 7810ba3c5110ce66652ec6bd2abb92da5d726c3b
[17/32] power: supply: max14577_charger: Convert to platform remove callback returning void
        commit: 81e487b8a4af24c28a3d5c90a6035356098720bb
[18/32] power: supply: max77650-charger: Convert to platform remove callback returning void
        commit: cd25ac3e3200626680dac92c9784cce4d59fdc6b
[19/32] power: supply: max77693_charger: Convert to platform remove callback returning void
        commit: 1d138270d2963b68d71852c363298460ea7435c7
[20/32] power: supply: max8925_power: Convert to platform remove callback returning void
        commit: 026f25f221866ea89a33697935995db6a1c25a52
[21/32] power: supply: pcf50633-charger: Convert to platform remove callback returning void
        commit: 6e3ed20e85aacaed7d3deede835a97029ea14560
[22/32] power: supply: qcom_smbb: Convert to platform remove callback returning void
        commit: 325cb83bbabcafa3e54528d40c86559dde271bc3
[23/32] power: supply: rx51_battery: Convert to platform remove callback returning void
        commit: 9f0da40ae798d3f32d649d1effef246f2c30f13e
[24/32] power: supply: sc2731_charger: Convert to platform remove callback returning void
        commit: 0569d4cfa800ba303647dbf8170d1e89bdee3ed9
[25/32] power: supply: tps65090-charger: Convert to platform remove callback returning void
        commit: 75d8365c94b685dd7377b0251d2407518dc49c02
[26/32] power: supply: tps65217_charger: Convert to platform remove callback returning void
        commit: 07a9398914327bb16584f24dfba02062a5967ab1
[27/32] power: supply: twl4030_charger: Convert to platform remove callback returning void
        commit: 83ef1dbc0de4a127661a175350696e9cfa88bbb1
[28/32] power: supply: twl4030_madc_battery: Convert to platform remove callback returning void
        commit: ac51982b04a05eb902a223b3bc83c032903b6ba7
[29/32] power: supply: wm831x_backup: Convert to platform remove callback returning void
        commit: fc7b34ae1347f4eb36f065458e53d6065cd85928
[30/32] power: supply: wm831x_power: Convert to platform remove callback returning void
        commit: dab68bbb5450ee17c9acf77916ac2ed659b1e2a7
[31/32] power: supply: wm8350_power: Convert to platform remove callback returning void
        commit: 42720969f394dc074ce1c99cd0c425b7dd6017ee
[32/32] power: supply: wm97xx_battery: Convert to platform remove callback returning void
        commit: 6f9fb8afe649a24c7df50ce2f7095b832713e648

Best regards,