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

mdshahid03 at gmail.com mdshahid03 at gmail.com
Fri Jul 31 11:23:44 PDT 2026


From: Mohammad Shahid <mdshahid03 at gmail.com>

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




More information about the linux-arm-kernel mailing list