linux/include/linux/power
Andrew Davis 50f0ff7c8c power: supply: bq27xxx: Move health reading out of update loop
Most of the functions that read values return a status and put the value
itself in an a function parameter. Update health reading to match.

As health is not checked for changes as part of the update loop, remove
the read of this from the periodic update loop. This saves I2C/1W
bandwidth. It also means we do not have to cache it, fresh values are
read when requested.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240325203129.150030-6-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-04-01 12:29:44 +02:00
..
bq27xxx_battery.h power: supply: bq27xxx: Move health reading out of update loop 2024-04-01 12:29:44 +02:00
bq2415x_charger.h
bq24190_charger.h
bq24735-charger.h
bq25890_charger.h
charger-manager.h
gpio-charger.h
jz4740-battery.h
max17042_battery.h
power_on_reason.h power: reset: at91-reset: add sysfs interface to the power on reason 2023-07-19 23:15:21 +02:00
sbs-battery.h
smartreflex.h
twl4030_madc_battery.h