watchdog: f71808e: only print reset reason if one's indicated
On most resets, a "reset reason: unknown" would clutter the console,
because the watchdog doesn't support differentiating between POR and
RST. Reduce the clutter by only printing the message when we have
something interesting to say (i.e. watchdog reset).

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c6250f9 commit 63345435ac53949dc07b4ee7f31be4137b4132d1
@Ahmad Fatoum Ahmad Fatoum authored on 10 Feb 2020
Sascha Hauer committed on 19 Feb 2020
Showing 1 changed file
View
drivers/watchdog/f71808e_wdt.c