Commit 39885f22 authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck
Browse files

watchdog: sl28cpld_wdt: don't print out if registering watchdog fails

parent 74ccee5e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -198,10 +198,8 @@ static int sl28cpld_wdt_probe(struct platform_device *pdev)
	}

	ret = devm_watchdog_register_device(&pdev->dev, wdd);
	if (ret < 0) {
		dev_err(&pdev->dev, "failed to register watchdog device\n");
	if (ret < 0)
		return ret;
	}

	dev_info(&pdev->dev, "initial timeout %d sec%s\n",
		 wdd->timeout, nowayout ? ", nowayout" : "");