]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: ab8500: use dev_to_psy()
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 10 Dec 2024 21:55:57 +0000 (22:55 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Dec 2024 01:00:25 +0000 (02:00 +0100)
commit1f4971fd33b1c79f1a265ce878c29241d4100a69
tree11b56304e26b2d62ac19d818fc2b9969ba01787a
parent4543b0c3534c65d676a837640d1ed1611e5e3038
power: supply: ab8500: use dev_to_psy()

Use the new, explicit accessor to go from a 'struct device' to its
'struct power_supply'.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241210-power-supply-dev_to_psy-v2-10-9d8c9d24cfe4@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c