diff options
author | Sebastian Reichel <sre@kernel.org> | 2023-03-18 01:57:02 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-03-29 23:38:57 +0300 |
commit | 9489d1bdb763a3dd954e61522043190a9fd1cb4c (patch) | |
tree | 080be1a763d9891f5fd011c2acdfaa874450e94e /tools/perf/scripts/python/task-analyzer.py | |
parent | 1b27bf793fd46219c882b8e545ec736cfadc0841 (diff) | |
download | linux-9489d1bdb763a3dd954e61522043190a9fd1cb4c.tar.xz |
power: supply: generic-adc-battery: simplify read_channel logic
Drop mostly useless gab_prop_to_chan() function by directly
supplying the correct enum value to read_channel().
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions