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

2007-11-26 Thread Michael Ellerman
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 [EMAIL PROTECTED] --- After conducting a straw pole of powerpc hackers, this seems to be the preferred name for such a beast. include/linux/of.h |4

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

2007-11-26 Thread Stephen Rothwell
On Mon, 26 Nov 2007 19:03:45 +1100 (EST) Michael Ellerman [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Acked-by: Stephen Rothwell [EMAIL PROTECTED]