iio: bmp280: refactor compensation code
authorVlad Dogaru <vlad.dogaru@intel.com>
Thu, 20 Nov 2014 12:00:48 +0000 (14:00 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:28:25 +0000 (12:28 +0000)
commit0f8994b18afc47fd0cda20ba6162c21a093173da
treeb21f92ddcaf147786b5e57ac9437d229c1a292bf
parent8f6eb02596cc297c12ee16c86b9bbe1c186dda15
iio: bmp280: refactor compensation code

This version of the code avoids extra memory copy operations and is
somewhat smaller in code size.

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/bmp280.c