counter: ti-eqep: Remove redundant dev_err_probe()

devm_request_threaded_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>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20260715135030.326290-4-panchuang@vivo.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
This commit is contained in:
Pan Chuang 2026-07-15 21:50:30 +08:00 committed by William Breathitt Gray
parent ccd73fc6fb
commit 353b2e09f4

View File

@ -527,7 +527,7 @@ static int ti_eqep_probe(struct platform_device *pdev)
err = devm_request_threaded_irq(dev, irq, NULL, ti_eqep_irq_handler,
IRQF_ONESHOT, dev_name(dev), counter);
if (err < 0)
return dev_err_probe(dev, err, "failed to request IRQ\n");
return err;
counter->name = dev_name(dev);
counter->parent = dev;