commit | c68a67b7adeec240bd79780635dc0ce74d0cb61a | [log] [tgz] |
---|---|---|
author | Crt Mori <cmo@melexis.com> | Sun Jul 05 20:03:53 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 19 12:23:39 2015 +0100 |
tree | e24292057c35b9b0395f0ed46c2d19c9acd582fb | |
parent | 354c879dbd9393ac411049f968474f2bf6c2a495 [diff] |
iio: mlx96014: Replace offset sign Changed the offset to negative as usual equation is: (raw + offset)*scale and in this case offset should be negative (as we deduct 273.15 Kelvin to get temperature in Celsius). Signed-off-by: Crt Mori <cmo@melexis.com> Acked-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>