summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/watchdog/sama5d4_wdt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/watchdog/sama5d4_wdt.c b/drivers/watchdog/sama5d4_wdt.c
index 255169916dbb..1e93c1b0e3cf 100644
--- a/drivers/watchdog/sama5d4_wdt.c
+++ b/drivers/watchdog/sama5d4_wdt.c
@@ -247,11 +247,7 @@ static int sama5d4_wdt_probe(struct platform_device *pdev)
247 } 247 }
248 } 248 }
249 249
250 ret = watchdog_init_timeout(wdd, wdt_timeout, &pdev->dev); 250 watchdog_init_timeout(wdd, wdt_timeout, &pdev->dev);
251 if (ret) {
252 dev_err(&pdev->dev, "unable to set timeout value\n");
253 return ret;
254 }
255 251
256 timeout = WDT_SEC2TICKS(wdd->timeout); 252 timeout = WDT_SEC2TICKS(wdd->timeout);
257 253