linux/drivers/iio/pressure
Tomasz Duszynski 13399ff25f iio: pressure: bmp280: fix relative humidity unit
According to IIO ABI relative humidity reading should be
returned in milli percent.

This patch addresses that by applying proper scaling and
returning integer instead of fractional format type specifier.

Note that the fixes tag is before the driver was heavily refactored
to introduce spi support, so the patch won't apply that far back.

Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Fixes: 14beaa8f5a ("iio: pressure: bmp280: add humidity support")
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-06-24 14:22:35 +01:00
..
abp060mg.c
bmp280-core.c iio: pressure: bmp280: fix relative humidity unit 2018-06-24 14:22:35 +01:00
bmp280-i2c.c
bmp280-regmap.c
bmp280-spi.c
bmp280.h
cros_ec_baro.c iio: cros_ec: Move cros_ec_sensors_core.h in /include 2018-03-17 19:59:20 +00:00
hid-sensor-press.c
hp03.c
hp206c.c
Kconfig
Makefile
mpl115_i2c.c
mpl115_spi.c
mpl115.c
mpl115.h
mpl3115.c
ms5611_core.c
ms5611_i2c.c
ms5611_spi.c
ms5611.h
ms5637.c
st_pressure_buffer.c
st_pressure_core.c iio: st_pressure: st_accel: pass correct platform data to init 2018-03-10 16:28:05 +00:00
st_pressure_i2c.c
st_pressure_spi.c
st_pressure.h
t5403.c
zpa2326_i2c.c
zpa2326_spi.c
zpa2326.c
zpa2326.h