From: Lars-Peter Clausen Date: Mon, 5 Nov 2012 09:56:00 +0000 (+0000) Subject: staging:iio:ad7887: Use passed in chan spec in ad7887_read_raw X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~571^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98efb70adde96d86df29b4754f265b2c8bba01b2;p=pandora-kernel.git staging:iio:ad7887: Use passed in chan spec in ad7887_read_raw Use the passed in chan spec in ad7887_read_raw instead of alawys using the first chan spec entry from the chip info data. Since all channels have the same shift and realbits from a functional point of view it does not matter which chan spec is used, but the patch makes the a bit more clear. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed