Skip to content
Commit 851da976 authored by Grant Likely's avatar Grant Likely
Browse files

of/unittest: Remove test devices after adding them



The of_platform_populate() test cases don't remove the test devices
after they are added. Fix this by adding tests for
of_platform_depopulate().

At the same time rework the selftest() macro to return the test result
value. This makes it easy to use the macro inside an if() condition.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 5063e25a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment