linux-IllusionX/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 power: fix duplicated words in bq2415x_charger.h 2020-07-27 00:10:14 +02:00
bq24190_charger.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bq24735-charger.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
bq25890_charger.h power: supply: bq25890: Add support for registering the Vbus boost converter as a regulator 2022-02-01 14:55:12 +01:00
charger-manager.h power: supply: charger-manager: Update extcon functions 2020-08-28 19:27:45 +02:00
gpio-charger.h power: supply: gpio-charger: Convert to GPIO descriptors 2020-08-27 16:47:14 +02:00
jz4740-battery.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 151 2019-05-30 11:26:28 -07:00
max17042_battery.h power: supply: max17042_battery: fix typo in MAX17042_IAvg_empty 2021-10-02 17:49:11 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
smartreflex.h ARM: omap2: smartreflex: remove on_init control 2023-01-09 17:00:54 +01:00
twl4030_madc_battery.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 151 2019-05-30 11:26:28 -07:00