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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:35:35 +0000 (09:35 +0200)
commitf245ce44d58e88c74d37d73b23ac9617789038d2
tree4b73be09424eef3c7b97ef93df76a3aaaf9b1aee
parentb7ad00c028ab8ab238cc72906b8fdb6ed3c874ea
iio/gyro/bmg160: Use millidegrees for temperature scale

commit 40a7198a4a01037003c7ca714f0d048a61e729ac upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/gyro/bmg160_core.c