]> www.infradead.org Git - users/dwmw2/linux.git/commit
ACPI: battery: Register power supply with power_supply_register()
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 5 Oct 2024 10:05:04 +0000 (12:05 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 15 Oct 2024 20:22:20 +0000 (22:22 +0200)
commit2de244e91ddf5cfcf7d88275ad2dbe7f0367e57e
tree706ef100c24e425ac92d6258b5340dd14364e395
parent49000fee9e639f62ba1f965ed2ae4c5ad18d19e2
ACPI: battery: Register power supply with power_supply_register()

power_supply_register_no_ws() is going to be removed.
Switch to the general registration API.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20241005-power-supply-no-wakeup-source-v1-2-1d62bf9bcb1d@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/acpi/battery.c