diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-04 14:14:13 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-04 17:43:04 +0100 |
commit | 851da976dc1d72becc03e144b38c4efab9e7b361 (patch) | |
tree | 48e6166e60b3bbca8a1608386aed15eb2a3f4c0b /drivers/of/unittest-data/tests-platform.dtsi | |
parent | of: Eliminate of_allnodes list (diff) | |
download | linux-851da976dc1d72becc03e144b38c4efab9e7b361.tar.xz linux-851da976dc1d72becc03e144b38c4efab9e7b361.zip |
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: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/unittest-data/tests-platform.dtsi')
0 files changed, 0 insertions, 0 deletions