iio:chemical:bme680: Fix, report temperature in millidegrees
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 6 Mar 2019 07:31:47 +0000 (08:31 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Mar 2019 17:27:12 +0000 (17:27 +0000)
commit9436f45dd53595e21566a8c6627411077dfdb776
tree81d52fd28dc2378dcf38d5bc389fdaa1f8155740
parent831d2fefdfce757fcea86742220f8cbe7ca51ddd
iio:chemical:bme680: Fix, report temperature in millidegrees

The standard unit for temperature is millidegrees Celcius. Adapt the
driver to report in millidegrees instead of degrees.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor");
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680_core.c