Skip to content
Commit e5179581 authored by Grant Likely's avatar Grant Likely
Browse files

of: Refactor __of_node_alloc() into __of_node_dup()



Add a node argument to __of_node_alloc() and rename it to
__of_node_dup() so that it can also be used to duplicate a node with
its properties. This is important for the overlay code so that it can
create new nodes without using separate changeset items for every single
property.

At the same time rework the overlay code to use the new function and
drop the extra changeset items.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent ef8bbd73
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment