aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2025-06-08 20:40:08 +0000
committerSebastian Reichel <[email protected]>2025-06-22 00:08:44 +0000
commit8842bd00a74bf758fb1abf572ec1c7d70c09dedb (patch)
tree860aab33a68fbe223765f80dd3b1fa8583893c30 /rust/helpers/cpu.c
parentpower: supply: core: rename power_supply_get_by_phandle to power_supply_get_b... (diff)
downloadkernel-8842bd00a74bf758fb1abf572ec1c7d70c09dedb.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions