summaryrefslogtreecommitdiffstats
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-11-17 22:31:32 +0000
committerGrant Likely <grant.likely@linaro.org>2014-11-24 22:24:41 +0000
commite51795815ef1a7adc018cbaf05aac46e3d24eda8 (patch)
tree2cea4517a9df4e5dc4a699e25e93b2a8af2e4256 /drivers/of/platform.c
parentef8bbd73a76197cf8362a2b43aaadc5717bd0746 (diff)
downloadop-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
OpenPOWER on IntegriCloud