diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-17 23:31:32 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-24 23:24:41 +0100 |
commit | e51795815ef1a7adc018cbaf05aac46e3d24eda8 (patch) | |
tree | 2cea4517a9df4e5dc4a699e25e93b2a8af2e4256 /drivers/of/unittest-data | |
parent | of: Use vargs in __of_node_alloc (diff) | |
download | linux-e51795815ef1a7adc018cbaf05aac46e3d24eda8.tar.xz linux-e51795815ef1a7adc018cbaf05aac46e3d24eda8.zip |
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: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/unittest-data')
0 files changed, 0 insertions, 0 deletions