iio: pressure: bmp280: add ability to control oversampling rate
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 24 Apr 2016 13:52:11 +0000 (22:52 +0900)
committerJonathan Cameron <jic23@kernel.org>
Mon, 25 Apr 2016 18:05:29 +0000 (19:05 +0100)
commit62979904b0037430ecc7d8b682f684adced1340f
treefa57832f361872681b0e5daf1100c62bd75f2c17
parent6dba72eca7fb879bf2e0c8fdc784fb974cb4f9d5
iio: pressure: bmp280: add ability to control oversampling rate

This adds ability to control the oversampling ratio of the temperature
and pressure measurement for both bmp180 and bmp280.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Vlad Dogaru <vlad.dogaru@intel.com>
Cc: Christoph Mair <christoph.mair@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/bmp280.c