[PATCH 0/8] power: supply: core: remove {,devm_}power_supply_register_no_ws()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux