diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-10 20:36:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 23:24:34 +0400 |
commit | 2a9e0662f6779d2074ecaa80ea5753d5f0cf1b93 (patch) | |
tree | 616e32f056310a660430609eab899a95cbeacb6a /drivers/leds/leds-bd2802.c | |
parent | 680f8ea0e85c5c3a7283be99435d6461e8725348 (diff) | |
download | linux-2a9e0662f6779d2074ecaa80ea5753d5f0cf1b93.tar.xz |
staging:iio:ad7793: Fix temperature scale and offset
The temperature channel uses the internal 1.17V reference with 0.81 mv/C. The
reported temperature is in Kevlin, so we need to add the Kelvin to Celcius
offset when reporting the offset for the temperature channel.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/leds/leds-bd2802.c')
0 files changed, 0 insertions, 0 deletions