aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2014-12-02 14:24:15 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-02 17:41:48 +1100
commit0f8acff8d61accde3b3cd69327a10a94bac92088 (patch)
tree0b9c0e0ce5e925d50f5597d55fa6bccbff2a4b0e /hw
parentdb089242bda7a5e3805b1e02da06f81e6075ba8a (diff)
downloadskiboot-0f8acff8d61accde3b3cd69327a10a94bac92088.zip
skiboot-0f8acff8d61accde3b3cd69327a10a94bac92088.tar.gz
skiboot-0f8acff8d61accde3b3cd69327a10a94bac92088.tar.bz2
core/device: wrap a function to destroy a dt_node
When destroying a dt_node, it needs to release both the name and itself. And there are several places to do the release. This patch wrap a function dt_destroy() to make sure both of the elements of a dt_node are released when it is not used any more. Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions