summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Chuang <panchuang@vivo.com>2026-07-15 21:50:29 +0800
committerWilliam Breathitt Gray <wbg@kernel.org>2026-08-02 21:47:31 +0900
commitccd73fc6fbd775b4981855717f85b769f0cf4f59 (patch)
tree273ac333b9c11cb9a0ad6b43ac4baa261d2f9fd3
parent505d48c93896948c9a430fa96a303af114566db9 (diff)
downloadlinux-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.c2
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);