of/selftest: Use selftest() macro throughout
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 12 Feb 2013 21:19:37 +0000 (21:19 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 13 Feb 2013 10:05:58 +0000 (10:05 +0000)
commitcabb7d5b7896a4d307ea6ad6d3bd045810544151
tree7c32c643c4b51eed352a050fc7c0b606b8c10382
parentf7f951c29835622d6096530393a8322131059917
of/selftest: Use selftest() macro throughout

Some of the selftests are open-coded. Others use the selftest() macro
defined in drivers/of/selftest.c. The macro makes for cleaner selftest
code, so refactor the of_parse_phandle_with_args() tests to use it.

Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/selftest.c