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:36:34 +0000 (09:36 +0200)
commitf7ee6890caa59f71c4af92814afd4b4cb7dafcc9
treea33c65a6779b2bfb85cfc1819ee28b934e500179
parent8bd3fd46ec23375740e7f29bafce4a11f6cff1d2
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