]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit6c879dc5629566b0b5190434a00c7eb49d49ae43
treef66bb23f1ed29ebfd925ee921e2fa975fefb2a6f
parent98080fc30398dd8d7dafbaed0423f73487a7c5ef
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]