Axel Lin 13e57ee205 iio: dac: ad5446: Don't set error code to voltage_uv
regulator_get_voltage() may return negative error code.
Add error checking to avoid setting error code to voltage_uv.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-12-27 11:00:27 +00:00
..
2012-10-31 10:59:55 +00:00
2012-10-19 18:46:51 +01:00
2012-06-12 14:50:51 -07:00