summaryrefslogtreecommitdiff
path: root/drivers/counter/ti-ecap-capture.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/counter/ti-ecap-capture.c')
-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 f69b6920463f..d77a256f0ed3 100644
--- a/drivers/counter/ti-ecap-capture.c
+++ b/drivers/counter/ti-ecap-capture.c
@@ -513,7 +513,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);