]> git.baikalelectronics.ru Git - kernel.git/commit
iio: hid-sensors: Gyro 3D : adjust scale and offset
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 18 Apr 2014 23:22:00 +0000 (00:22 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 5 May 2014 09:59:46 +0000 (10:59 +0100)
commita45830b1953bcf8ea0a21731e1c8323312847c17
tree9a635821b46fab75bdd29ae41e9d70feed226561
parent9d8fcd06e294bc6d37965f392d216a883a08fb0d
iio: hid-sensors: Gyro 3D : adjust scale and offset

Using units and unit exponent to calculate scale which is compliant
to IIO ABI.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/hid-sensor-gyro-3d.c