]> www.infradead.org Git - users/willy/xarray.git/commit
power: supply: cros_charge-control: implement a power supply extension
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 11 Dec 2024 19:57:57 +0000 (20:57 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 14 Dec 2024 21:27:16 +0000 (22:27 +0100)
commitbcfe7d6ba20742bc166b293cc1a3986a0f4aaeb9
treeec8757b9355f8077fbbe015cd5c834aa8f0febe8
parent2f9ccc64b3eeddab5690f56e59357c3a165d0cc6
power: supply: cros_charge-control: implement a power supply extension

Power supply extensions provide an easier mechanism to implement
additional properties for existing power supplies.
Use that instead of reimplementing the sysfs attributes manually.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241211-power-supply-extensions-v6-3-9d9dc3f3d387@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cros_charge-control.c