Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: mei_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>

authored by

Wolfram Sang and committed by
Wim Van Sebroeck
2b7ebd34 9daa2e14

+1 -3
+1 -3
drivers/watchdog/mei_wdt.c
··· 384 384 watchdog_stop_on_reboot(&wdt->wdd); 385 385 386 386 ret = watchdog_register_device(&wdt->wdd); 387 - if (ret) { 388 - dev_err(dev, "unable to register watchdog device = %d.\n", ret); 387 + if (ret) 389 388 watchdog_set_drvdata(&wdt->wdd, NULL); 390 - } 391 389 392 390 wdt->state = MEI_WDT_IDLE; 393 391