From: Grant Likely Date: Wed, 19 Nov 2014 17:13:44 +0000 (+0000) Subject: of/selftest: Fix testing when /aliases is missing X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~87^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788ec2fc2ca295a2d929986e95231214ecd8d142;p=pandora-kernel.git of/selftest: Fix testing when /aliases is missing The /aliases node isn't always present in the device tree, but the unittest code assumes that /aliases is there. Add a check when inserting the testcase data to see if of_aliases needs to be updated, and undo the settings when the nodes are removed. Signed-off-by: Grant Likely Cc: Rob Herring Cc: Gaurav Minocha Cc: --- Reading git-diff-tree failed