diff options
| author | Pan Chuang <panchuang@vivo.com> | 2026-07-15 21:50:29 +0800 |
|---|---|---|
| committer | William Breathitt Gray <wbg@kernel.org> | 2026-08-02 21:47:31 +0900 |
| commit | ccd73fc6fbd775b4981855717f85b769f0cf4f59 (patch) | |
| tree | 273ac333b9c11cb9a0ad6b43ac4baa261d2f9fd3 | |
| parent | 505d48c93896948c9a430fa96a303af114566db9 (diff) | |
| download | linux-next-ccd73fc6fbd775b4981855717f85b769f0cf4f59.tar.gz linux-next-ccd73fc6fbd775b4981855717f85b769f0cf4f59.zip | |
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>
| -rw-r--r-- | drivers/counter/ti-ecap-capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/counter/ti-ecap-capture.c b/drivers/counter/ti-ecap-capture.c index 3586a7ab9887..5fe51e894145 100644 --- a/drivers/counter/ti-ecap-capture.c +++ b/drivers/counter/ti-ecap-capture.c @@ -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); |
