diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-04-15 20:23:36 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-05-08 15:29:12 +0200 |
commit | ff4c4a2a4437a6d03787c7aafb2617f20c3ef45f (patch) | |
tree | 30ae5396580827d64da9870298bff29d60724b17 /tools/perf/scripts/python/task-analyzer.py | |
parent | 35092c5819f8c5acc7bafe3fdbb13d6307c4f5e1 (diff) |
power: supply: bq27xxx: Move bq27xxx_battery_update() down
Move the bq27xxx_battery_update() functions to below
the bq27xxx_battery_current_and_status() function.
This is just moving a block of text, no functional changes.
This is a preparation patch for making bq27xxx_battery_update() check
the status and have it call power_supply_changed() on status changes.
Fixes: 297a533b3e62 ("bq27x00: Cache battery registers")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions