Skip to content
Commit 3eaf6e2e authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Stefan Roese
Browse files

watchdog: wdt-uclass.c: refactor initr_watchdog()



In preparation for handling all DM watchdogs in watchdog_reset(), pull
out the code which handles starting (or not) the gd->watchdog_dev
device.

Include the device name in various printfs.

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
parent 068f8eaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment