From: Philipp Zabel Date: Mon, 14 Apr 2014 15:53:25 +0000 (+0200) Subject: of: Add for_each_endpoint_of_node helper macro X-Git-Tag: omap-for-v4.2/o2_dc~25^2~23^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8905963ed0bc9dfc0952dc35e16e233c10e212;p=pandora-kernel.git of: Add for_each_endpoint_of_node helper macro Note that while of_graph_get_next_endpoint decrements the reference count of the child node passed to it, of_node_put(child) still has to be called manually when breaking out of the loop. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- Reading git-diff-tree failed