diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-11-17 22:31:32 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-24 22:24:41 +0000 |
commit | e51795815ef1a7adc018cbaf05aac46e3d24eda8 (patch) | |
tree | 2cea4517a9df4e5dc4a699e25e93b2a8af2e4256 /drivers/of/platform.c | |
parent | ef8bbd73a76197cf8362a2b43aaadc5717bd0746 (diff) | |
download | op-kernel-dev-e51795815ef1a7adc018cbaf05aac46e3d24eda8.zip op-kernel-dev-e51795815ef1a7adc018cbaf05aac46e3d24eda8.tar.gz |
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/platform.c')
0 files changed, 0 insertions, 0 deletions