lkml.org 
[lkml]   [2019]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] iio: pressure: bmp280: code shrink
Date
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

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

\
 
 \ /
  Last update: 2019-10-02 10:59    [W:0.069 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site