[PATCH v3 0/3] iio: adc: bcm_iproc_adc: Simplify probe error handling

From: mdshahid03

Date: Fri Jul 31 2026 - 14:27:19 EST


From: Mohammad Shahid <mdshahid03@xxxxxxxxx>

Hi,

This series simplifies the probe error handling in bcm_iproc_adc.

Changes in v3:
- Split the changes into three patches.
- Remove the redundant dev_err() after devm_request_threaded_irq().
- Introduce a local device pointer.
- Convert the remaining applicable probe error paths to dev_err_probe().
- Keep the original platform_get_irq() and devm_request_threaded_irq().
- Remove the redundant dev_err() after iproc_adc_enable().
- Convert the iio_device_register() error path to dev_err_probe().

Thanks,
Shahid

Mohammad Shahid (3):
iio: adc: bcm_iproc_adc: Remove redundant error message after
devm_request_threaded_irq()
iio: adc: bcm_iproc_adc: Introduce local device pointer
iio: adc: bcm_iproc_adc: Convert probe error handling to
dev_err_probe()

drivers/iio/adc/bcm_iproc_adc.c | 54 +++++++++++++++------------------
1 file changed, 24 insertions(+), 30 deletions(-)

--
2.43.0