iio: lps331ap: Modify in_temp_scale calculation way
authorJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 2 Jul 2013 10:13:00 +0000 (11:13 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 18:00:27 +0000 (19:00 +0100)
commit1003eb67baf00cca8aa51f5833090c61938aa82e
treed17adcbb2be2788b323e01ba26867bbfc7e85280
parentbace48f44adb954ad71e62779d1be52dae3f0caf
iio: lps331ap: Modify in_temp_scale calculation way

This patch modifies the way how the in_temp_scale output value is
calculated. With this implementation it is more clear how the value
is obtained.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c