From: Axel Lin Date: Tue, 18 Dec 2012 03:33:00 +0000 (+0000) Subject: iio: dac: ad5446: Don't set error code to voltage_uv X-Git-Tag: v3.8-rc4~24^2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e57ee2056221296f1926d49d00edd224058bea;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed