]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: bq24190_charger: use dev_to_psy()
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 10 Dec 2024 21:56:00 +0000 (22:56 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Dec 2024 01:00:25 +0000 (02:00 +0100)
commitf11ebcdeb9208e07140c7db9a849df111fbbe9d7
treed21b0554466da5b9ea74b33bfe7512a6c2ab2969
parent30c9849c4867197d7e23f8108b93f5d196d6953f
power: supply: bq24190_charger: 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-13-9d8c9d24cfe4@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq24190_charger.c