summaryrefslogtreecommitdiff
path: root/tools/hv
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-12-12 13:57:12 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-12-13 00:11:18 +0300
commit36f1de0d5c463092485c73ab639c348d1e28e356 (patch)
tree65d7e71e10625f9177f773132f5a9317f68b2386 /tools/hv
parent807042539d8ed11299c9278e55d2cb6df8d04a39 (diff)
downloadlinux-36f1de0d5c463092485c73ab639c348d1e28e356.tar.xz
power: supply: ab8500: Use dev_err_probe() for IIO channels
The code obtaining the ADC channels is outdated: it is trying to work around the IIO subsystem not returning the right -EPROBE_DEFER error code. Fix this up by using the dev_err_probe() helper so we defer silently where appropriate and not bail out if the IIO core returns -EPROBE_DEFER as happens now. Cc: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions