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: NAlexander Graf <agraf@suse.de> Reviewed-by: NPeter Crosthwaite <peter.crosthwaite@petalogix.com>
Showing
想要评论请 注册 或 登录