OSDN Git Service

iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius
authorMatt Ranostay <matt.ranostay@konsulko.com>
Mon, 31 Dec 2018 03:07:01 +0000 (19:07 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 Jan 2019 17:06:49 +0000 (17:06 +0000)
commit0808831dc62e90023ad14ff8da4804c7846e904b
tree37ce674f06fe684aeb3ce92c8583ba42b1bf5646
parent06382deac2b8a49bbc5aaa3c9118fed6da4a1ac1
iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius

IIO_TEMP scale value for temperature was incorrect and not in millicelsius
as required by the ABI documentation.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Fixes: 27dec00ecf2d (iio: chemical: add Atlas pH-SM sensor support)
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-ph-sensor.c