iio/gyro/bmg160: Use millidegrees for temperature scale
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 13 Feb 2019 07:41:47 +0000 (08:41 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Mar 2019 16:55:05 +0000 (16:55 +0000)
commit40a7198a4a01037003c7ca714f0d048a61e729ac
tree036ffca64560a22e74121095bba543fe7c0bed3a
parent0a8a29be499cbb67df79370aaf5109085509feb8
iio/gyro/bmg160: Use millidegrees for temperature scale

Standard unit for temperature is millidegrees Celcius, whereas this driver
was reporting in degrees. Fix the scale factor in the driver.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/bmg160_core.c