counter: ti-ecap-capture: Remove redundant dev_err_probe()

devm_request_irq() automatically logs detailed error messages on
failure. Remove the now-redundant driver-specific dev_err_probe() call.

Signed-off-by: Pan Chuang <panchuang@vivo.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Link: https://lore.kernel.org/r/20260715135030.326290-3-panchuang@vivo.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
This commit is contained in:
Pan Chuang 2026-07-15 21:50:29 +08:00 committed by William Breathitt Gray
parent 505d48c938
commit ccd73fc6fb

View File

@ -514,7 +514,7 @@ static int ecap_cnt_probe(struct platform_device *pdev)
ret = devm_request_irq(dev, ret, ecap_cnt_isr, 0, pdev->name, counter_dev);
if (ret)
return dev_err_probe(dev, ret, "failed to request irq\n");
return ret;
platform_set_drvdata(pdev, counter_dev);