Skip to content

iio: pressure: bmp280: GPIO error handling and cleanups

Salah Triki linux-iio lkml 4 versions – Applied

Status from this message: Applied to the fixes-togreg branch of iio.git and marked for stable.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 7 repliesApplied
  2. v32 patches 2 repliesSuperseded
  3. v21 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- Split patch 2/2 into two separate patches, as suggested by Markus Elfring.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()drivers/iio/pressure/bmp280-core.c+5 -43 replies
2/3iio: pressure: bmp280: Remove noisy dev_info()drivers/iio/pressure/bmp280-core.c+0 -12 replies
3/3iio: pressure: bmp280: Use gpiod_set_value_cansleep()drivers/iio/pressure/bmp280-core.c+1 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDavid LechnerAndy Shevchenko
1/3R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] iio: pressure: bmp280: GPIO error handling and cleanups

Hi all,

This patch series improves the GPIO error handling and addresses small cleanups in the bmp280 driver.

Changes in v4:
- Split patch 2/2 into two separate patches, as suggested by Markus Elfring.

Changes in v3:
- Split into two separate patches, as suggested by Andy Shevchenko.
- Improve the error message to "failed to get reset GPIO", as suggested by David Lechner.
- Add Fixes and Cc tags where appropriate, as suggested by Markus Elfring.

Changes in v2:
- Use IS_ERR() instead of IS_ERR_OR_NULL()
- Drop dev_info()
- Use gpiod_set_value_cansleep()
- Improve commit title and message

Salah Triki (3):
iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
iio: pressure: bmp280: Remove noisy dev_info()
iio: pressure: bmp280: Use gpiod_set_value_cansleep()

 drivers/iio/pressure/bmp280-core.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0