On Mon, Feb 26, 2018 at 02:01:22PM -0800, [email protected] wrote: > From: Frank Rowand <[email protected]> > > In preparation for fixing __of_node_dup(), clean up the unittest > function that calls it. > > Devicetree nodes created from a flattened device tree have a name > property. Follow this convention for nodes added by a changeset.
I'd like to get rid of that property as it should be redundant, but that's somewhat orthogonal to this. It also shouldn't be up to the caller to have to do this either, but that's already broken in the current API. So I've applied these. > > For node added by changeset, remove incorrect initialization of > child node pointer. > > Add an additional node pointer 'changeset' to more naturally reflect > where in the tree the changeset is added. > > Make changeset add property error messages unique. > > Add whitespace to break apart logic blocks. > > Signed-off-by: Frank Rowand <[email protected]> > ---

