dm: devres: Add tests
authorSimon Glass <sjg@chromium.org>
Mon, 30 Dec 2019 04:19:26 +0000 (21:19 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 7 Jan 2020 23:02:39 +0000 (16:02 -0700)
commit8d6320cc4d5cd01e2e7fd01dd635e360cf0a1699
treef66bb23f1ed29ebfd925ee921e2fa975fefb2a6f
parentdc12ebbbdb765153805d2b17d18edf5fe0813d5a
dm: devres: Add tests

The devres functionality has very few users in U-Boot, but it still should
have tests. Add a few basic tests of the main functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/devres.c
include/dm/devres.h
test/dm/Makefile
test/dm/devres.c [new file with mode: 0644]