drivers/of: Return allocated memory from of_fdt_unflatten_tree()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 3 May 2016 13:22:51 +0000 (23:22 +1000)
committerRob Herring <robh@kernel.org>
Mon, 16 May 2016 12:22:35 +0000 (07:22 -0500)
commit83262418b0ef8bda66eca7c72d4c24ae6f7b230e
treee0eca40010efc061ba901a13ca42ec12a461eec0
parentc4263233f30e72f2645ff83c9074c994f88b015a
drivers/of: Return allocated memory from of_fdt_unflatten_tree()

This returns the allocate memory chunk, storing the unflattened device
tree, from of_fdt_unflatten_tree() so that memory chunk can be released
on demand in PowerNV PCI hotplug driver.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c
include/linux/of_fdt.h