mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
watchdog: bcm2835_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>
This commit is contained in:
parent
4ab0543361
commit
d5f3e24f22
@ -202,10 +202,8 @@ static int bcm2835_wdt_probe(struct platform_device *pdev)
|
||||
|
||||
watchdog_stop_on_reboot(&bcm2835_wdt_wdd);
|
||||
err = devm_watchdog_register_device(dev, &bcm2835_wdt_wdd);
|
||||
if (err) {
|
||||
dev_err(dev, "Failed to register watchdog device");
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
||||
if (pm_power_off == NULL) {
|
||||
pm_power_off = bcm2835_power_off;
|
||||
|
Loading…
Reference in New Issue
Block a user