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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux