[POWERPC] Add for_each_child_of_node() helper for iterating over child nodes
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 26 Nov 2007 08:03:45 +0000 (19:03 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 11 Dec 2007 02:34:39 +0000 (13:34 +1100)
commitaabc08dc662b7acb17ca5706533253ce10c050b1
treed4cc522f5eedeaffc465f7c3e26de8b809c7abcf
parent18cce5d321cf01413f416d7fe9fb00404cba04fd
[POWERPC] Add for_each_child_of_node() helper for iterating over child nodes

Add for_each_child_of_node() to encapsulate the common idiom of
iterating over the children of a device_node.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/linux/of.h