diff options
| author | 2025-06-08 22:40:08 +0200 | |
|---|---|---|
| committer | 2025-06-22 02:08:44 +0200 | |
| commit | 8842bd00a74bf758fb1abf572ec1c7d70c09dedb (patch) | |
| tree | 860aab33a68fbe223765f80dd3b1fa8583893c30 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | power: supply: core: rename power_supply_get_by_phandle to power_supply_get_by_reference (diff) | |
| download | wireguard-linux-8842bd00a74bf758fb1abf572ec1c7d70c09dedb.tar.xz wireguard-linux-8842bd00a74bf758fb1abf572ec1c7d70c09dedb.zip | |
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 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
