diff options
| author | Sebastian Reichel <[email protected]> | 2023-03-17 22:57:02 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-03-29 20:38:57 +0000 |
| commit | 9489d1bdb763a3dd954e61522043190a9fd1cb4c (patch) | |
| tree | 080be1a763d9891f5fd011c2acdfaa874450e94e /tools/perf/scripts/python/sctop.py | |
| parent | power: supply: generic-adc-battery: use simple-battery API (diff) | |
| download | kernel-9489d1bdb763a3dd954e61522043190a9fd1cb4c.tar.gz kernel-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 <[email protected]>
Reviewed-by: Matti Vaittinen <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
