aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/dynamic.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-11-04 08:14:13 -0500
committerGrant Likely <grant.likely@linaro.org>2014-11-04 11:43:04 -0500
commit851da976dc1d72becc03e144b38c4efab9e7b361 (patch)
tree48e6166e60b3bbca8a1608386aed15eb2a3f4c0b /drivers/of/dynamic.c
parent5063e25a302e6a83f6590d9a06bd5f6400b17430 (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/of/dynamic.c')
0 files changed, 0 insertions, 0 deletions