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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2019 07:10:10 +0000 (08:10 +0100)
commitaf770a1558c4415cd4b74cf7bf30e09be7b77a30
treea100fcb002325f7d1a5216c987ca108288529ea6
parent38d28640db5a3fb63488dabb598e42889868f648
iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius

commit 0808831dc62e90023ad14ff8da4804c7846e904b upstream.

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