From: Lars-Peter Clausen Date: Mon, 15 Oct 2012 09:35:00 +0000 (+0100) Subject: staging:iio: Fix adis16209 channel offsets and scales X-Git-Tag: v3.7-rc3~13^2~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5304b771203b62430776f3fca4823670282cbe4;p=pandora-kernel.git staging:iio: Fix adis16209 channel offsets and scales Most of the channel offsets and scales in the adis16209 are incorrect: * Temperature scale is of by a factor of 1000 * Voltage scale is of by a factor of 1000 * Temperature offset is completely wrong * Rotational position scale is missing This patch fixes these issues. Also use the IIO_G_TO_M_S_2 macro for the acceleration scale since this makes it much easier to compare it with the value given in the datasheet. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed