summaryrefslogtreecommitdiff
path: root/drivers/watchdog/gxp-wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/gxp-wdt.c')
-rw-r--r--drivers/watchdog/gxp-wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/gxp-wdt.c b/drivers/watchdog/gxp-wdt.c
index 2fd85be88278..f2c236160266 100644
--- a/drivers/watchdog/gxp-wdt.c
+++ b/drivers/watchdog/gxp-wdt.c
@@ -151,10 +151,8 @@ static int gxp_wdt_probe(struct platform_device *pdev)
watchdog_stop_on_reboot(&drvdata->wdd);
err = devm_watchdog_register_device(dev, &drvdata->wdd);
- if (err) {
- dev_err(dev, "Failed to register watchdog device");
+ if (err)
return err;
- }
dev_info(dev, "HPE GXP watchdog timer");