]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Use a simple variable to record removed device
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 15:11:17 +0000 (08:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commit3f8760824e028f5710e3d8ec029c8cc9fade1729
treecf1a90e36a42595f83b20655881657ad79cb5d28
parent6d1a8ebefb8461f93e12b6e62efe36ca0a69e6d4
test: Use a simple variable to record removed device

At present the entire test state is effective passed into a test driver
just to record which device was removed. This is unnecessary and makes it
harder to track what is going on.

Use a simple boolean instead.

Also drop the unused 'removed' member while we are here.

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