Re: [PATCH 4/7] power: supply: all: switch psy_cfg from of_node to fwnode

AngeloGioacchino Del Regno
2025-02-25T10:47:46Z

Il 25/02/25 00:21, Sebastian Reichel ha scritto:
> When registering a power-supply device, either a of_node or the more
> recent fwnode can be supplied. Since fwnode can also contain an of_node,
> let's try to get rid of it.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
#MediaTek

> ---
> drivers/power/supply/ab8500_charger.c | 4 ++--
> drivers/power/supply/acer_a500_battery.c | 3 ++-
> drivers/power/supply/act8945a_charger.c | 2 +-
> drivers/power/supply/axp20x_ac_power.c | 2 +-
> drivers/power/supply/axp20x_battery.c | 2 +-
> drivers/power/supply/axp20x_usb_power.c | 2 +-
> drivers/power/supply/bd99954-charger.c | 2 +-
> drivers/power/supply/bq2415x_charger.c | 2 +-
> drivers/power/supply/bq24190_charger.c | 2 +-
> drivers/power/supply/bq24735-charger.c | 2 +-
> drivers/power/supply/bq2515x_charger.c | 2 +-
> drivers/power/supply/bq256xx_charger.c | 2 +-
> drivers/power/supply/bq25980_charger.c | 2 +-
> drivers/power/supply/bq27xxx_battery.c | 2 +-
> drivers/power/supply/cpcap-battery.c | 2 +-
> drivers/power/supply/cpcap-charger.c | 2 +-
> drivers/power/supply/ds2760_battery.c | 3 +--
> drivers/power/supply/generic-adc-battery.c | 2 +-
> drivers/power/supply/gpio-charger.c | 2 +-
> drivers/power/supply/ingenic-battery.c | 2 +-
> drivers/power/supply/ip5xxx_power.c | 2 +-
> drivers/power/supply/lego_ev3_battery.c | 3 ++-
> drivers/power/supply/lt3651-charger.c | 2 +-
> drivers/power/supply/ltc4162-l-charger.c | 2 +-
> drivers/power/supply/max17042_battery.c | 2 +-
> drivers/power/supply/max77650-charger.c | 2 +-
> drivers/power/supply/max8903_charger.c | 2 +-
> drivers/power/supply/mm8013.c | 2 +-
> drivers/power/supply/mt6360_charger.c | 2 +-
> drivers/power/supply/mt6370-charger.c | 2 +-
> drivers/power/supply/olpc_battery.c | 4 ++--
> drivers/power/supply/pm8916_bms_vm.c | 2 +-
> drivers/power/supply/pm8916_lbc.c | 2 +-
> drivers/power/supply/qcom_battmgr.c | 5 +++--
> drivers/power/supply/qcom_pmi8998_charger.c | 2 +-
> drivers/power/supply/qcom_smbb.c | 2 +-
> drivers/power/supply/rk817_charger.c | 2 +-
> drivers/power/supply/rt5033_battery.c | 2 +-
> drivers/power/supply/rt5033_charger.c | 3 ++-
> drivers/power/supply/rt9455_charger.c | 2 +-
> drivers/power/supply/rt9467-charger.c | 2 +-
> drivers/power/supply/rt9471.c | 2 +-
> drivers/power/supply/sbs-battery.c | 2 +-
> drivers/power/supply/sbs-charger.c | 2 +-
> drivers/power/supply/sbs-manager.c | 2 +-
> drivers/power/supply/sc2731_charger.c | 2 +-
> drivers/power/supply/sc27xx_fuel_gauge.c | 3 +--
> drivers/power/supply/smb347-charger.c | 2 +-
> drivers/power/supply/tps65090-charger.c | 2 +-
> drivers/power/supply/tps65217_charger.c | 2 +-
> drivers/power/supply/ucs1002_power.c | 2 +-
> 51 files changed, 58 insertions(+), 56 deletions(-)
>