Re: [PATCH v2 4/8] of: Add for_each_endpoint_of_node helper macro

2014-09-11 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Wednesday 10 September 2014 12:58:24 Philipp Zabel wrote: 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.

[PATCH v2 4/8] of: Add for_each_endpoint_of_node helper macro

2014-09-10 Thread Philipp Zabel
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 p.za...@pengutronix.de --- Changes since v1: - Added a comment about the child