[PATCH] Add for_each_child_of_node() helper for iterating over child nodes

Stephen Rothwell sfr at canb.auug.org.au
Mon Nov 26 19:28:41 EST 2007


On Mon, 26 Nov 2007 19:03:45 +1100 (EST) Michael Ellerman <michael at ellerman.id.au> wrote:
>
> 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 at ellerman.id.au>

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071126/40af8b87/attachment.pgp>


More information about the Linuxppc-dev mailing list