diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-19 00:27:51 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 16:13:14 +0300 |
commit | 24b8eb74082de101852b1d570145fa2206ff74a1 (patch) | |
tree | 43ff11e173611e254b8a0cbc01e8b5661c1cbb49 /drivers/watchdog/sama5d4_wdt.c | |
parent | 386f465ae6dfd82aade41670461c151bb0a7131c (diff) | |
download | linux-24b8eb74082de101852b1d570145fa2206ff74a1.tar.xz |
watchdog: sama5d4_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>
Diffstat (limited to 'drivers/watchdog/sama5d4_wdt.c')
-rw-r--r-- | drivers/watchdog/sama5d4_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/sama5d4_wdt.c b/drivers/watchdog/sama5d4_wdt.c index b8da1bf21e12..cd3d62f9940e 100644 --- a/drivers/watchdog/sama5d4_wdt.c +++ b/drivers/watchdog/sama5d4_wdt.c @@ -259,10 +259,8 @@ static int sama5d4_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); |