Enabling OF selftest to run without machine's devicetree
authorGaurav Minocha <gaurav.minocha.os@gmail.com>
Sat, 26 Jul 2014 19:48:50 +0000 (12:48 -0700)
committerGrant Likely <grant.likely@linaro.org>
Sat, 16 Aug 2014 08:03:56 +0000 (09:03 +0100)
If there is no devicetree present, this patch adds the selftest
data as a live devicetree. It also removes the same after the
testcase execution is complete.

Tested with and without machine's devicetree.

Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/selftest.c

Simple merge