diff options
| author | Wolfram Sang <[email protected]> | 2019-05-18 23:27:44 +0200 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2019-07-08 15:13:12 +0200 |
| commit | 0fa6cf71cdec0eaebd69cf25de3f14a9152106e5 (patch) | |
| tree | 1d70563fa882c70aa604020309bd4ef06edc74d1 | |
| parent | ab9113d0460f06bff8c22271b77a05a5f6cadbac (diff) | |
watchdog: of_xilinx_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]>
| -rw-r--r-- | drivers/watchdog/of_xilinx_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c index 03786992b701..7fe4f7c3f7ce 100644 --- a/drivers/watchdog/of_xilinx_wdt.c +++ b/drivers/watchdog/of_xilinx_wdt.c @@ -238,10 +238,8 @@ static int xwdt_probe(struct platform_device *pdev) } rc = devm_watchdog_register_device(dev, xilinx_wdt_wdd); - if (rc) { - dev_err(dev, "Cannot register watchdog (err=%d)\n", rc); + if (rc) return rc; - } clk_disable(xdev->clk); |