iio: mlx96014: Replace offset sign
authorCrt Mori <cmo@melexis.com>
Sun, 5 Jul 2015 18:03:53 +0000 (20:03 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 11:23:39 +0000 (12:23 +0100)
commitc68a67b7adeec240bd79780635dc0ce74d0cb61a
treee24292057c35b9b0395f0ed46c2d19c9acd582fb
parent354c879dbd9393ac411049f968474f2bf6c2a495
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>
drivers/iio/temperature/mlx90614.c
This page took 0.025149 seconds and 5 git commands to generate.