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)
commit6c7db77e406d61275e41268c1829e847a7237a27
tree9a635821b46fab75bdd29ae41e9d70feed226561
parent73a24988201f1bc82143ad183c79206052ef2fe8
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