[PATCH v2 0/5] Using dev_err_probe as it simplifies error handling and ensures consistent error reporting.

From: Prashant Rahul

Date: Sat Jun 20 2026 - 13:48:50 EST


Errors are logged when enabling the regulator or adding the cleanup action
fails, but not when buffer setup fails. This adds that missing log.

changes in v2:
- ti-adc084s021: drop unnecessary braces around single statement if block

v1: https://lore.kernel.org/linux-iio/20260618231543.413771-1-prashantrahul23@xxxxxxxxx/

Prashant Rahul (5):
iio: adc: ti-adc081c: use dev_err_probe for probe time error
iio: adc: ti-adc084s021: use dev_err_probe for probe time error
iio: adc: ti-adc108s102: log buffer setup failure in probe
iio: adc: ti-adc161s626: log buffer setup failure in probe
iio: adc: ti-adc0832: log buffer setup failure in probe

drivers/iio/adc/ti-adc081c.c | 6 ++----
drivers/iio/adc/ti-adc0832.c | 2 +-
drivers/iio/adc/ti-adc084s021.c | 6 ++----
drivers/iio/adc/ti-adc108s102.c | 2 +-
drivers/iio/adc/ti-adc161s626.c | 2 +-
5 files changed, 7 insertions(+), 11 deletions(-)

--
2.54.0