• Grant Likely's avatar
    of: Refactor __of_node_alloc() into __of_node_dup() · e5179581
    Grant Likely authored
    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>
    e5179581
dynamic.c 16.1 KB