commit | 3beb0c3857a54e62d62d909a9651b232887b0027 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Mon Apr 14 17:53:25 2014 +0200 |
committer | Simon Horman <horms+renesas@verge.net.au> | Mon Apr 27 13:45:31 2015 +0900 |
tree | ee3a78063d1e513ecda5acc3d0bec0ae183bf358 | |
parent | 39a8804455fb23f09157341d3ba7db6d7ae6ee76 [diff] |
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 <p.zabel@pengutronix.de> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (cherry picked from commit ee8905963ed0bc9dfc0952dc35e16e233c10e212) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>