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