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:09:11 +0000 (08:09 +0100)
commit4c93500004f23cb198713c6bb35c946334e35821
treec32d34b836db73d18953f84d0cfd56a5fde7ef2e
parent4337e2073104a051982ab08724c5116c8ce1d325
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