mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
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:
parent
ccd73fc6fb
commit
353b2e09f4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user