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:34:42 +0000 (09:34 +0200)
commitdb0609c9a59ef8e256ab4e50a59aea12823fa286
tree3704444ea07a3e2cb35a75ea285b6680a7d05ce0
parentd93322278d48056c011ea5cd021068ae7c7efbe3
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