aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorGravatar Sebastian Reichel <sre@kernel.org> 2023-03-17 23:57:02 +0100
committerGravatar Sebastian Reichel <sre@kernel.org> 2023-03-29 22:38:57 +0200
commit9489d1bdb763a3dd954e61522043190a9fd1cb4c (patch)
tree080be1a763d9891f5fd011c2acdfaa874450e94e /drivers/nvmem
parentpower: supply: generic-adc-battery: use simple-battery API (diff)
downloadlinux-9489d1bdb763a3dd954e61522043190a9fd1cb4c.tar.gz
linux-9489d1bdb763a3dd954e61522043190a9fd1cb4c.tar.bz2
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 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions