Acked-by: Sylvain Lemieux <slemieux.tyco@xxxxxxxxx> On Sat, May 18, 2019 at 5:28 PM Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote: > > The core will print out details now. > > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> > --- > drivers/watchdog/pnx4008_wdt.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c > index d9e03544aeae..124b1c66dc29 100644 > --- a/drivers/watchdog/pnx4008_wdt.c > +++ b/drivers/watchdog/pnx4008_wdt.c > @@ -221,10 +221,8 @@ static int pnx4008_wdt_probe(struct platform_device *pdev) > set_bit(WDOG_HW_RUNNING, &pnx4008_wdd.status); > > ret = devm_watchdog_register_device(dev, &pnx4008_wdd); > - if (ret < 0) { > - dev_err(dev, "cannot register watchdog device\n"); > + if (ret < 0) > return ret; > - } > > dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); > > -- > 2.19.1 >