[PATCH 0/2] power: supply: core: class cleanups

Sebastian Reichel posted 2 patches 1 year, 11 months ago
drivers/power/supply/ab8500_btemp.c      |  3 +--
drivers/power/supply/ab8500_chargalg.c   |  3 +--
drivers/power/supply/ab8500_charger.c    |  3 +--
drivers/power/supply/ab8500_fg.c         |  3 +--
drivers/power/supply/apm_power.c         |  3 +--
drivers/power/supply/power_supply_core.c | 43 +++++++++++++-------------------
include/linux/power_supply.h             |  3 +--
7 files changed, 23 insertions(+), 38 deletions(-)
[PATCH 0/2] power: supply: core: class cleanups
Posted by Sebastian Reichel 1 year, 11 months ago
I noticed some further possible cleanups when reviewing
and applying Ricardo's patch to make power_supply_class
constant.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
Sebastian Reichel (2):
      power: supply: core: add power_supply_for_each_device()
      power: supply: core: simplify power_supply_class_init

 drivers/power/supply/ab8500_btemp.c      |  3 +--
 drivers/power/supply/ab8500_chargalg.c   |  3 +--
 drivers/power/supply/ab8500_charger.c    |  3 +--
 drivers/power/supply/ab8500_fg.c         |  3 +--
 drivers/power/supply/apm_power.c         |  3 +--
 drivers/power/supply/power_supply_core.c | 43 +++++++++++++-------------------
 include/linux/power_supply.h             |  3 +--
 7 files changed, 23 insertions(+), 38 deletions(-)
---
base-commit: 71c2cc5cbf686c2397f43cbcb51a31589bdcee7b
change-id: 20240301-psy-class-cleanup-6e6711d595aa

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>
Re: [PATCH 0/2] power: supply: core: class cleanups
Posted by Sebastian Reichel 1 year, 11 months ago
On Fri, 01 Mar 2024 23:58:25 +0100, Sebastian Reichel wrote:
> I noticed some further possible cleanups when reviewing
> and applying Ricardo's patch to make power_supply_class
> constant.
> 
> 

Applied, thanks!

[1/2] power: supply: core: add power_supply_for_each_device()
      commit: 68ade0976df7979eac5f1d46320ff798f5043af6
[2/2] power: supply: core: simplify power_supply_class_init
      commit: ea1ec769d1f01a9900127e83e63dfdd77d096c8a

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>
Re: [PATCH 0/2] power: supply: core: class cleanups
Posted by Ricardo B. Marliere 1 year, 11 months ago
On  1 Mar 23:58, Sebastian Reichel wrote:
> I noticed some further possible cleanups when reviewing
> and applying Ricardo's patch to make power_supply_class
> constant.

Good one!

Reviewed-by: Ricardo B. Marliere <ricardo@marliere.net>

Thank you,
-	Ricardo.


> 
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> Sebastian Reichel (2):
>       power: supply: core: add power_supply_for_each_device()
>       power: supply: core: simplify power_supply_class_init
> 
>  drivers/power/supply/ab8500_btemp.c      |  3 +--
>  drivers/power/supply/ab8500_chargalg.c   |  3 +--
>  drivers/power/supply/ab8500_charger.c    |  3 +--
>  drivers/power/supply/ab8500_fg.c         |  3 +--
>  drivers/power/supply/apm_power.c         |  3 +--
>  drivers/power/supply/power_supply_core.c | 43 +++++++++++++-------------------
>  include/linux/power_supply.h             |  3 +--
>  7 files changed, 23 insertions(+), 38 deletions(-)
> ---
> base-commit: 71c2cc5cbf686c2397f43cbcb51a31589bdcee7b
> change-id: 20240301-psy-class-cleanup-6e6711d595aa
> 
> Best regards,
> -- 
> Sebastian Reichel <sebastian.reichel@collabora.com>
>