diff options
| author | Andrew Davis <afd@ti.com> | 2024-01-23 09:09:14 -0600 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-01-27 01:00:08 +0100 |
| commit | b282c30dad3e10738a4f03043efaff93d9e8de02 (patch) | |
| tree | 52d60b0c6e3d77eaae827e47a056f2484e48136d /tools/perf/scripts/python | |
| parent | power: supply: bq27xxx: Use devm_power_supply_register() helper (diff) | |
| download | linux-b282c30dad3e10738a4f03043efaff93d9e8de02.tar.gz linux-b282c30dad3e10738a4f03043efaff93d9e8de02.zip | |
power: supply: bq27xxx: Move one time design full read out of poll
This value only needs read once. Move that read into the function
that returns the value to keep the logic all in one place. This
also avoids doing this check every time we read in values in
the device update poll worker.
While here, correct this function's error message.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240123150914.308510-5-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
