From: Lars-Peter Clausen Date: Mon, 4 Mar 2013 19:30:00 +0000 (+0000) Subject: iio:ad7923: Return error if we didn't get the expected result X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~537^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135f06465d6842fdf1381f2610e27ff43e81f24d;p=pandora-kernel.git iio:ad7923: Return error if we didn't get the expected result Instead of leaving 'val' uninitialized return an error if the result's address did not match that of the channel we were trying to read. Signed-off-by: Lars-Peter Clausen Cc: Patrick Vasseur Cc: Christophe Leroy Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed