iio: gyro: ADXRS450: Add missing scale attributes
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 14 Dec 2011 19:25:11 +0000 (20:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Dec 2011 18:55:00 +0000 (10:55 -0800)
commit90b9b2276bdc1a3cdff881a71a652683f6a5d58f
treea458fc27322ccb1e25b99f86c1f21aff3f08e809
parent70fe742c94d4d5e7763c3f864f13c0e907ac3d48
iio: gyro: ADXRS450: Add missing scale attributes

Add missing scale attributes.
Temperature data is presented as 10-bit, twos complement number.
Therefore use singed and shift accordingly.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adxrs450_core.c