iio: adc: qcom-spmi-adc5-gen3: Remove an unnecessary print

devm_request_threaded_irq() internally prints an error message using
dev_err_probe() in case of any errors. Remove the error print in the
devm_request_threaded_irq() failure path as it is not needed.

Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Maxwell Doose <m32285159@gmail.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Link: https://patch.msgid.link/20260722-gen3_adc_tm-v4-1-011981f756c8@oss.qualcomm.com
This commit is contained in:
Jishnu Prakash 2026-07-22 16:56:37 +05:30 committed by Daniel Lezcano
parent c4c4050236
commit 7680af9184
No known key found for this signature in database
GPG Key ID: A832238A2A4FE84F

View File

@ -821,9 +821,7 @@ static int adc5_gen3_probe(struct platform_device *pdev)
adc->dev_data.base[ADC5_GEN3_VADC_SDAM].irq_name,
adc);
if (ret)
return dev_err_probe(dev, ret,
"Failed to request SDAM%d irq\n",
ADC5_GEN3_VADC_SDAM);
return ret;
ret = adc5_get_fw_data(adc);
if (ret)