watchdog: mpc8xxx_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:
Wolfram Sang 2019-05-18 23:27:40 +02:00 committed by Wim Van Sebroeck
parent 86fc186578
commit a239027325

View File

@ -201,11 +201,8 @@ static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
ddata->wdd.timeout = ddata->wdd.min_timeout; ddata->wdd.timeout = ddata->wdd.min_timeout;
ret = devm_watchdog_register_device(dev, &ddata->wdd); ret = devm_watchdog_register_device(dev, &ddata->wdd);
if (ret) { if (ret)
dev_err(dev, "cannot register watchdog device (err=%d)\n",
ret);
return ret; return ret;
}
dev_info(dev, dev_info(dev,
"WDT driver for MPC8xxx initialized. mode:%s timeout=%d sec\n", "WDT driver for MPC8xxx initialized. mode:%s timeout=%d sec\n",