diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-10 22:55:52 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-11 02:00:24 +0100 |
commit | 230fb418b47733d887dc8ca1a653b21f41f77399 (patch) | |
tree | 8ac088285e3f44016b3f1cf5c5c0458b805c6e3e /scripts/lib/kdoc/kdoc_parser.py | |
parent | 87f57faa20ee2cc274400801fb197a27535ff6b5 (diff) |
power: supply: apm_power: use power_supply_for_each_psy()
Simplify the callbacks by removing the need to convert a 'struct device'
into a '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-5-9d8c9d24cfe4@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions