diff options
author | Hans de Goede <hansg@kernel.org> | 2025-06-08 22:40:08 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-06-22 02:08:44 +0200 |
commit | 8842bd00a74bf758fb1abf572ec1c7d70c09dedb (patch) | |
tree | 860aab33a68fbe223765f80dd3b1fa8583893c30 /tools/perf/scripts/python/flamegraph.py | |
parent | 370643f45aad93476b6489238ccb45a77b94da3f (diff) |
power: supply: ug3105_battery: Use psy->battery_info
For POWER_SUPPLY_TYPE_BATTERY power-supplies the core already
calls power_supply_get_battery_info() and stores the result in
psy->battery_info.
Use psy->battery_info instead of having the driver call
power_supply_get_battery_info() itself.
Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250608204010.37482-9-hansg@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions