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

From: Ricardo B. Marliere
Date: Sat Mar 02 2024 - 16:12:02 EST


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@xxxxxxxxxxxx>

Thank you,
- Ricardo.


>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxx>
>