Re: [PATCH 1/2 v2] OF: new helper: of_parse_phandles_with_args()

2008-10-12 Thread Benjamin Herrenschmidt
On Fri, 2008-10-10 at 18:43 +0400, Anton Vorontsov wrote: > The helper is factored out of of_get_gpio(). Will be used by the QE > pin multiplexing functions (they need to parse the gpios = <> too). > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- > + while (list < list_end) { > +

[PATCH 1/2 v2] OF: new helper: of_parse_phandles_with_args()

2008-10-10 Thread Anton Vorontsov
The helper is factored out of of_get_gpio(). Will be used by the QE pin multiplexing functions (they need to parse the gpios = <> too). Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- On Fri, Oct 10, 2008 at 02:37:29PM +1100, Benjamin Herrenschmidt wrote: [...] > Rather than incrementing i