git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5063e25
)
of/unittest: Remove test devices after adding them
author
Grant Likely
<grant.likely@linaro.org>
Tue, 4 Nov 2014 13:14:13 +0000
(13:14 +0000)
committer
Grant Likely
<grant.likely@linaro.org>
Tue, 4 Nov 2014 16:43:04 +0000
(16:43 +0000)
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>
No differences found