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 /tools/perf/scripts/python | |
| parent | power: supply: ab8500: use power_supply_for_each_psy() (diff) | |
| download | linux-230fb418b47733d887dc8ca1a653b21f41f77399.tar.gz linux-230fb418b47733d887dc8ca1a653b21f41f77399.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
