summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2016-10-20 21:08:23 +0800
committerJonathan Cameron <jic23@kernel.org>2016-10-23 19:34:19 +0100
commitf0879217a8710289f3a9bac9e5db8f73e8189750 (patch)
tree83a84cf1602dac5edecaddb7cae3b71d6f83fbf1 /drivers/iio/dac
parent12edb97471fd4877bc0e527a42e0cbf8ab3937a5 (diff)
downloadop-kernel-dev-f0879217a8710289f3a9bac9e5db8f73e8189750.zip
op-kernel-dev-f0879217a8710289f3a9bac9e5db8f73e8189750.tar.gz
staging: iio: ad7606: rework regulator handling
Currently, this driver ignores all errors from regulator_get(). The way it is now, it also breaks probe deferral (EPROBE_DEFER). The correct behavior is to propagate the error to the upper layers so they can handle it accordingly. Rework the regulator handling so that it matches the standard behavior. If the specific design uses a static always-on regulator and does not explicitly specify it, regulator_get() will return the dummy regulator. Suggested-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud