The meaning of the _no_ws() suffix is not immediately clear when reading the code. Furthermore there is already a dedicated API to configure the details of the created power supply in "struct power_supply_config". Migrate the functionality to "struct power_supply_config" and remove the special functions. Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> --- Thomas Weißschuh (8): power: supply: core: add wakeup source inhibit by power_supply_config ACPI: battery: Register power supply with power_supply_register() power: supply: acer_a500_battery: register power supply with devm_power_supply_register() power: supply: bq27xxx_battery: register power supply with power_supply_register() power: supply: cros_usbpd-charger: register power supply with devm_power_supply_register() power: supply: lenovo_yoga_c630_battery: register power supplies with power_supply_register() power: supply: max77976_charger: register power supply with devm_power_supply_register() power: supply: core: remove {,devm_}power_supply_register_no_ws() drivers/acpi/battery.c | 3 +- drivers/power/supply/acer_a500_battery.c | 7 +-- drivers/power/supply/bq27xxx_battery.c | 3 +- drivers/power/supply/cros_usbpd-charger.c | 4 +- drivers/power/supply/lenovo_yoga_c630_battery.c | 14 ++--- drivers/power/supply/max77976_charger.c | 3 +- drivers/power/supply/power_supply_core.c | 68 ++----------------------- include/linux/power_supply.h | 10 +--- 8 files changed, 26 insertions(+), 86 deletions(-) --- base-commit: 27cc6fdf720183dce1dbd293483ec5a9cb6b595e change-id: 20240922-power-supply-no-wakeup-source-45cd19b68a9a Best regards, -- Thomas Weißschuh <linux@xxxxxxxxxxxxxx>