[PATCH v2 0/7] bme680 cleanup

David Frey
2018-08-15T23:29:14Z

Note that I don't currently have bme680 hardware available, so I am hoping that
Himanshu is willing to validate the changes.

v2:
This version addresses Himanshu's feedback
- split v1 patch 1 into 6 commits
- substantially changed "simplify oversampling handling" after review
identified a bug in the previous patch version and I spent some more time
thinking about the problem

v1:
I have performed some minor cleanup on the bme680 driver. I don't think
there's anything controversial in my changes. Let me know what you think

David Frey (7):
iio: chemical: bme680: use clamp macro
iio: chemical: bme680: cleanup bme680_read_calib formatting
iio: chemical: bme680: indent #defines consistently
iio: chemical: bme680: change MSK->MASK in #defines
iio: chemical: bme680: use GENMASK macro
iio: chemical: bme680: use FIELD_GET macro
iio: chemical: bme680: simplify oversampling handling

drivers/iio/chemical/bme680.h | 17 +++--
drivers/iio/chemical/bme680_core.c | 144 +++++++++++++------------------------
2 files changed, 59 insertions(+), 102 deletions(-)

--
2.11.0