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 <s...@chromium.org> --- drivers/core/devres.c | 13 +++ include/dm/devres.h | 20 +++++ test/dm/Makefile | 1 + test/dm/devres.c | 178 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 212 insertions(+) create mode 100644 test/dm/devres.c Applied to u-boot-dm, thanks!