]> 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:07:37 +0000 (08:07 +0100)
commit80aec980a73f608448980417f4d5ef203469987c
tree2dacb4ae7549b0702a05d6f55bd13f9b77a893c8
parent6d31200e0c9be406f50d63b47464cc6bc73705c8
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