On Thu Jun 19, 2025 at 4:55 PM CEST, Casey Connolly wrote: > Prepare to add smb5 support by making variables and the file name more > generic. Also take the opportunity to remove the "_charger" suffix since > smb2 always refers to a charger. > > Signed-off-by: Casey Connolly <[email protected]> > --- > drivers/power/supply/Makefile | 2 +- > .../supply/{qcom_pmi8998_charger.c => qcom_smbx.c} | 148 > ++++++++++----------- > 2 files changed, 75 insertions(+), 75 deletions(-) > > diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile > index > 4f5f8e3507f80da02812f0d08c2d81ddff0a272f..f943c9150b326d41ff241f82610f70298635eb08 > 100644 > --- a/drivers/power/supply/Makefile > +++ b/drivers/power/supply/Makefile > @@ -119,6 +119,6 @@ obj-$(CONFIG_RN5T618_POWER) += rn5t618_power.o > obj-$(CONFIG_BATTERY_ACER_A500) += acer_a500_battery.o > obj-$(CONFIG_BATTERY_SURFACE) += surface_battery.o > obj-$(CONFIG_CHARGER_SURFACE) += surface_charger.o > obj-$(CONFIG_BATTERY_UG3105) += ug3105_battery.o > -obj-$(CONFIG_CHARGER_QCOM_SMB2) += qcom_pmi8998_charger.o > +obj-$(CONFIG_CHARGER_QCOM_SMB2) += qcom_smbx.o
While you may want to keep the CONFIG_ name the same, the description should be updated, at least in the SMB5 commit. │ Say Y here to enable the Qualcomm PMIC Charger driver. This │ adds support for the SMB2 switch mode battery charger found │ in PMI8998 and related PMICs. Regards Luca
