From: Tang Yuantian Date: Wed, 10 Apr 2013 03:36:39 +0000 (+0800) Subject: of/base: release the node correctly in of_parse_phandle_with_args() X-Git-Tag: v3.10-rc2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b855f16b05a697ac1863adabe99bfba56e6d3199;p=pandora-kernel.git of/base: release the node correctly in of_parse_phandle_with_args() Call of_node_put() only when the out_args is NULL on success, or the node's reference count will not be correct because the caller will call of_node_put() again. Signed-off-by: Tang Yuantian [grant.likely: tightened up the patch] Signed-off-by: Grant Likely --- Reading git-diff-tree failed