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