[PATCH 0/4] iio: pressure: bmp280: code shrink

From: Bartosz Golaszewski
Date: Wed Oct 02 2019 - 04:58:33 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

This series contains a couple changes that shrink the driver both in
terms of LOC as well as actual generated code.

Bartosz Golaszewski (4):
iio: pressure: bmp280: use bulk regulator ops
iio: pressure: bmp280: use devm_iio_device_register()
iio: pressure: bmp280: remove stray newline
iio: pressure: bmp280: use devm action and remove labels from probe

drivers/iio/pressure/bmp280-core.c | 114 +++++++++++++----------------
drivers/iio/pressure/bmp280-i2c.c | 6 --
drivers/iio/pressure/bmp280-spi.c | 6 --
drivers/iio/pressure/bmp280.h | 1 -
4 files changed, 51 insertions(+), 76 deletions(-)

--
2.23.0