dm: rtc: Make use of ut_assertnonnull()
authorSimon Glass <sjg@chromium.org>
Mon, 1 Aug 2022 13:58:44 +0000 (07:58 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 2 Sep 2022 20:21:44 +0000 (16:21 -0400)
commite033c180d0327e8fa791660ae26cdebd5e400153
tree5c67d4a30c54411b58c3f420f0a681ee2ac3c1df
parent1aa168ca8fa472620a0aa72ff10b6eb4d0414e03
dm: rtc: Make use of ut_assertnonnull()

Use this (newish) macro since it is designed for the purpose of making
sure things are non-NULL.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/rtc.c