Commit 913b187d authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck

watchdog: stmp3xxx_rtc_wdt: drop warning after registering device

The core will print out details now.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 71777442
...@@ -98,10 +98,8 @@ static int stmp3xxx_wdt_probe(struct platform_device *pdev) ...@@ -98,10 +98,8 @@ static int stmp3xxx_wdt_probe(struct platform_device *pdev)
stmp3xxx_wdd.parent = dev; stmp3xxx_wdd.parent = dev;
ret = devm_watchdog_register_device(dev, &stmp3xxx_wdd); ret = devm_watchdog_register_device(dev, &stmp3xxx_wdd);
if (ret < 0) { if (ret < 0)
dev_err(dev, "cannot register watchdog device\n");
return ret; return ret;
}
if (register_reboot_notifier(&wdt_notifier)) if (register_reboot_notifier(&wdt_notifier))
dev_warn(dev, "cannot register reboot notifier\n"); dev_warn(dev, "cannot register reboot notifier\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment