iio: humidity: hdc100x: fix IIO_TEMP channel reporting

commit 09bc0ddaab upstream.

IIO_TEMP channel was being incorrectly reported back as Celsius when it
should have been milliCelsius. This is via an incorrect scale value being
returned to userspace.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Matt Ranostay 2016-05-26 19:55:06 -07:00 • committed by Greg Kroah-Hartman
commit d2be6f6172