From: Pantelis Antoniou Date: Fri, 4 Jul 2014 16:58:47 +0000 (+0300) Subject: OF: Utility helper functions for dynamic nodes X-Git-Tag: omap-for-v3.17/fixes-against-rc2~69^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698433963b98d6de7b102c242805c99fda4fa1fb;p=pandora-kernel.git OF: Utility helper functions for dynamic nodes Introduce helper functions for working with the live DT tree, all of them related to dynamically adding/removing nodes and properties. __of_prop_dup() copies a property dynamically __of_node_alloc() creates an empty node Bug fix about prop->len == 0 by Ionut Nicu Signed-off-by: Pantelis Antoniou [glikely: Added unittest for of_copy_property and dropped fine-grained allocations] [glikely: removed name, type and phandle arguments from __of_node_alloc] Signed-off-by: Grant Likely --- Reading git-diff-tree failed