summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-08-19 11:56:55 +0200
committerStefan Roese <sr@denx.de>2021-08-31 12:04:03 +0200
commit8967ebb65386396790e4c1c8b7c24a139a0f5c41 (patch)
treeac2f2e2b283d576b0d271dc5c2162eaeb44b3e95 /drivers/ddr/microchip/ddr2.c
parenta85a8e63c5cf8ccb3905eb5982bf8bdcb2978557 (diff)
watchdog: wdt-uclass.c: use wdt_start() in wdt_expire_now()
wdt_start() does the "no ->start? return -ENOSYS" check, don't open-code that in wdt_expire_now(). Also, wdt_start() maintains some global (and later some per-device) state, which would get out of sync with this direct method call - not that it matters much here since the board is supposed to reset very soon. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions