From: Tyrel Datwyler Date: Thu, 15 Aug 2013 05:23:51 +0000 (-0700) Subject: powerpc/pseries: Add mising of_node_put in delete_dt_node X-Git-Tag: v3.12-rc1~123^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14cd820a2a45a1f7b216c6ca9104c91d52564fbf;p=pandora-kernel.git powerpc/pseries: Add mising of_node_put in delete_dt_node The node to be detached is retrieved via its phandle by a call to of_find_node_by_phandle which increments the ref count. We need a matching call to of_node_put to decrement the ref count and ensure the node is actually freed. Signed-off-by: Tyrel Datwyler Acked-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed