From: Axel Lin Date: Fri, 14 Dec 2012 07:55:00 +0000 (+0000) Subject: iio: dac: ad5791: Don't set error code to [pos|neg]_voltage_uv X-Git-Tag: v3.8-rc4~24^2~20^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e2dcc69824288916b55f90cd6db4992a0d95374;p=pandora-kernel.git 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 Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed