diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-04 13:14:13 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-20 23:41:21 +0900 |
commit | 7c71b6a864616c9e79ee4375e9c0d722355dbe35 (patch) | |
tree | af1062f3f9df7fc77f3acc48987ca076090a06d4 /drivers/of/testcase-data/tests-interrupts.dtsi | |
parent | 2ca04f7a512c14de91f9368956d0905560f5bdef (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>
(cherry picked from commit 851da976dc1d72becc03e144b38c4efab9e7b361)
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/of/testcase-data/tests-interrupts.dtsi')
0 files changed, 0 insertions, 0 deletions