of/selftest: clean-up of_selftest_platform_populate pass/fail handling
authorRob Herring <robh@kernel.org>
Tue, 13 May 2014 15:07:29 +0000 (10:07 -0500)
committerRob Herring <robh@kernel.org>
Tue, 13 May 2014 19:11:10 +0000 (14:11 -0500)
Move the pass/fail checks into selftest() calls instead of a separate if
condition. Unconditionally calling pass was wrong.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Grant Likely <grant.likely@linaro.org>
drivers/of/selftest.c

Simple merge