of/flattree: Refactor unflatten_dt_node
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Thu, 18 Nov 2010 23:55:00 +0000 (15:55 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 29 Dec 2010 23:53:55 +0000 (16:53 -0700)
commita40d6c4cf12d87980c10b230df435d0f56adc40b
tree0e0ce85229e37f78fae2347df301d576f2517ef5
parent9706a36e35c4ce04f28a62cfe1205b4e3b0dd13c
of/flattree: Refactor unflatten_dt_node

unflatten_dt_node is a helper function that does most of the work to
convert a device tree blob into tree of device nodes.  This code
now uses a passed-in blob instead of using the single boot-time blob,
allowing it to be called in more contexts.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/fdt.c