[PATCH v3 0/2] iio: pressure: bmp280: GPIO error handling and cleanup

Salah Triki posted 2 patches 1 month, 2 weeks ago
drivers/iio/pressure/bmp280-core.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH v3 0/2] iio: pressure: bmp280: GPIO error handling and cleanup
Posted by Salah Triki 1 month, 2 weeks ago
Hi all,

This patch series improves the GPIO handling in the bmp280 driver.

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 (2):
  iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
  iio: pressure: bmp280: Use gpiod_set_value_cansleep()

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

-- 
2.43.0
Re: [PATCH v3 0/2] iio: pressure: bmp280: GPIO error handling and cleanup
Posted by Andy Shevchenko 1 month, 2 weeks ago
On Mon, Aug 18, 2025 at 09:23:29AM +0100, Salah Triki wrote:
> Hi all,
> 
> This patch series improves the GPIO handling in the bmp280 driver.

Is this similar to what I just reviewed? I'm sorry I got lost.
But if it's different, it needs to be amended in the same way.

-- 
With Best Regards,
Andy Shevchenko