]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:11:03 +0000 (08:11 +0100)
commit31b71e1f025ad029b93ebb21b2164b3cb885b1ef
treeb695fd192cfb9065b58f9286be1ea7bf05a098a3
parentc48f564ea859ffba30d2e32536389f657186a99d
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