]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff4cb70ee5eb45e48f470517e5e374c13504d578
tree5cc736fc8aa9609bc761f9ae8fb3633c741362d3
parent73f4c1259ab9937edc593110a040e0023fedae09
of/selftest: clean-up of_selftest_platform_populate pass/fail handling

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