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

From: Sebastian Reichel
Date: Fri Mar 01 2024 - 17:59:11 EST


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