diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-04 13:14:13 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-04 16:43:04 +0000 |
commit | 851da976dc1d72becc03e144b38c4efab9e7b361 (patch) | |
tree | 48e6166e60b3bbca8a1608386aed15eb2a3f4c0b /drivers/bcma | |
parent | 5063e25a302e6a83f6590d9a06bd5f6400b17430 (diff) |
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/bcma')
0 files changed, 0 insertions, 0 deletions