]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit082398a6764cc2374e87a76a4183074aa8f04918
tree7c32c643c4b51eed352a050fc7c0b606b8c10382
parent803bbacfb53a2a0300bfd977eff2c754c826cff9
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