mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 09:20:14 -05:00
watchdog: st_lpc_wdt: drop warning after registering device
The core will print out details now. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
d311048eb0
commit
7283b217ae
1 changed files with 1 additions and 3 deletions
|
|
@ -228,10 +228,8 @@ static int st_wdog_probe(struct platform_device *pdev)
|
|||
return ret;
|
||||
|
||||
ret = devm_watchdog_register_device(dev, &st_wdog_dev);
|
||||
if (ret) {
|
||||
dev_err(dev, "Unable to register watchdog\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
st_wdog_setup(st_wdog, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue