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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Sunday, October 12, 2008 - 4:31 pm

On Fri, 2008-10-10 at 18:43 +0400, Anton Vorontsov wrote:


Allright. I'll merge it. It might have been nicer to write here

		phandle = list++;
		args = list;

		if (!*phandle)
			goto next;

		.../...

		list += *cells;

But it's not big deal, I'll merge it as-is and if you feel like it
you can aways submit a cleanup later. In fact you can even completely
drop "args" I think.

Cheers,
Ben.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/2] QE Pin Multiplexing API, Anton Vorontsov, (Thu Sep 25, 11:36 am)
[PATCH 1/2] OF: new helper: of_parse_phandles_with_args(), Anton Vorontsov, (Thu Sep 25, 11:37 am)
[PATCH 2/2] powerpc/QE: implement QE Pin Multiplexing API, Anton Vorontsov, (Thu Sep 25, 11:37 am)
Re: [PATCH 1/2] OF: new helper: of_parse_phandles_with_args(), Benjamin Herrenschmidt, (Thu Oct 9, 8:37 pm)
[PATCH 1/2 v2] OF: new helper: of_parse_phandles_with_args(), Anton Vorontsov, (Fri Oct 10, 7:43 am)
Re: [PATCH 1/2 v2] OF: new helper: of_parse_phandles_with_ ..., Benjamin Herrenschmidt, (Sun Oct 12, 4:31 pm)