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

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:42 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. I think t

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

2014-08-19 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 --- include/linux/of_graph.h | 4 1 file changed, 4 insertions(+) diff --