diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-14 07:55:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-12-27 11:00:14 +0000 |
commit | 7e2dcc69824288916b55f90cd6db4992a0d95374 (patch) | |
tree | b33fb10c8239b56af42901b3c2db10cd405b7d4a /drivers/iio/accel | |
parent | 272cc9c8b5d0dffe9fb03e6c0ab3da2fde9c20e9 (diff) | |
download | linux-3.10-7e2dcc69824288916b55f90cd6db4992a0d95374.tar.gz linux-3.10-7e2dcc69824288916b55f90cd6db4992a0d95374.tar.bz2 linux-3.10-7e2dcc69824288916b55f90cd6db4992a0d95374.zip |
iio: dac: ad5791: Don't set error code to [pos|neg]_voltage_uv
regulator_get_voltage() may return negative error code.
Don't set error code to to pos_voltage_uv and neg_voltage_uv.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions