summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-19 00:27:58 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 16:13:17 +0300
commite290eb8c233923b099aa9e6ea717bf0b30871a78 (patch)
treea6e2ff53a7a4599198ebbba07e01a1a25cc614e6
parent913b187d12962fe8d9fa93c959f2f71ac16597ec (diff)
downloadlinux-e290eb8c233923b099aa9e6ea717bf0b30871a78.tar.xz
watchdog: tegra_wdt: drop warning after registering device
The core will print out details now. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
-rw-r--r--drivers/watchdog/tegra_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/tegra_wdt.c b/drivers/watchdog/tegra_wdt.c
index a58b000acc4f..dfe06e506cad 100644
--- a/drivers/watchdog/tegra_wdt.c
+++ b/drivers/watchdog/tegra_wdt.c
@@ -219,10 +219,8 @@ static int tegra_wdt_probe(struct platform_device *pdev)
watchdog_stop_on_unregister(wdd);
ret = devm_watchdog_register_device(dev, wdd);
- if (ret) {
- dev_err(dev, "failed to register watchdog device\n");
+ if (ret)
return ret;
- }
platform_set_drvdata(pdev, wdt);