diff options
author | Thomas Weißschuh <[email protected]> | 2024-03-29 09:18:29 +0100 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2024-03-29 13:36:39 +0100 |
commit | 91b623cda43e449a49177ba99b6723f551a4bfbe (patch) | |
tree | b4ac59bd919a56765c02b369c9573eef3f91f9b4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 070c1470ae24317e7b19bd3882b300b6d69922a4 (diff) |
power: supply: core: simplify charge_behaviour formatting
The function power_supply_show_charge_behaviour() is not needed and can
be removed completely.
Removing the function also saves a spurious read of the property from
the driver on each call.
The convulted logic was a leftover from an earlier patch revision.
Some restructuring made this cleanup possible.
Suggested-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Fixes: 4e61f1e9d58f ("power: supply: core: fix charge_behaviour formatting")
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions