diff options
| author | Sebastian Reichel <sre@kernel.org> | 2023-03-17 23:57:02 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2023-03-29 22:38:57 +0200 |
| commit | 9489d1bdb763a3dd954e61522043190a9fd1cb4c (patch) | |
| tree | 080be1a763d9891f5fd011c2acdfaa874450e94e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | power: supply: generic-adc-battery: use simple-battery API (diff) | |
| download | linux-9489d1bdb763a3dd954e61522043190a9fd1cb4c.tar.gz linux-9489d1bdb763a3dd954e61522043190a9fd1cb4c.zip | |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
