From: Lars-Peter Clausen Date: Mon, 17 Sep 2012 12:17:00 +0000 (+0100) Subject: staging:iio:hwmon bridge: Use iio_read_channel_processed X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~161^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e545e0e75006a7de0e9bc5397f6b44c61990b2;p=pandora-kernel.git staging:iio:hwmon bridge: Use iio_read_channel_processed Use the iio_read_channel_processed function to read the sample value in the proper unit instead of using iio_read_channel_raw and iio_read_channel_scale and doing the unit conversion manually. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed