From: Axel Lin Date: Tue, 31 Jul 2012 13:28:26 +0000 (+0800) Subject: regulator: wm831x-ldo: Check return value of wm831x_reg_read() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^5~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363506cd71a5cafeee67b236112f1baf8c30b0ea;p=pandora-kernel.git regulator: wm831x-ldo: Check return value of wm831x_reg_read() wm831x_reg_read() returns negative error code on failure. This prevents using the error code as the value read. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed