diff options
author | 2014-04-14 17:53:25 +0200 | |
---|---|---|
committer | 2015-02-23 11:42:23 +0100 | |
commit | ee8905963ed0bc9dfc0952dc35e16e233c10e212 (patch) | |
tree | 6cfbd1cfb1af19c550a6a3e263f3fb63c625d0d0 /scripts/gdb/linux/utils.py | |
parent | of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint (diff) | |
download | linux-rng-ee8905963ed0bc9dfc0952dc35e16e233c10e212.tar.xz linux-rng-ee8905963ed0bc9dfc0952dc35e16e233c10e212.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions