of/unittest: early return from test skips tests
authorFrank Rowand <frank.rowand@sonymobile.com>
Sat, 14 Mar 2015 06:57:40 +0000 (23:57 -0700)
committerGrant Likely <grant.likely@linaro.org>
Sun, 29 Mar 2015 07:56:19 +0000 (08:56 +0100)
commit716e1d493a8717251158c708b2f161017bdcb3f9
tree256768386603a92de19b93fccd16ea825e463f8a
parentc8547119ce54ef6d3c0685ef3837514fa6e11d28
of/unittest: early return from test skips tests

Fix bugs pointed out by checkpatch: Mis-coding of two if statements
caused early return from function.

Number of tests completed increased from 102 to 107.
Number of tests failed increased from 0 to 2.

Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/unittest.c