commit | c640d088349acaf23161e7afb3dfeb5d6a7007f1 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu May 17 11:40:42 2012 +0200 |
committer | Alexander Graf <agraf@suse.de> | Sun Jun 24 01:04:45 2012 +0200 |
tree | 3735bb38c7157baf59a32c4f4fc874ca4781d483 | |
parent | 94282e714628ee4b130b46f3b06b34da45b2fe6a [diff] |
dt: allow add_subnode to create root subnodes Our subnode creation helper can't handle creation of root subnodes, like "/memory". Fix this by allowing the parent node to be an empty string, indicating the root node. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>