Re: [RFC][PATCHv6+++ 01/13] of: introduceof_property_for_earch_phandle_with_args()

From: Hiroshi Doyu
Date: Tue Dec 03 2013 - 01:47:26 EST


On Mon, 2 Dec 2013 15:39:25 +0100
Rob Herring <robherring2@xxxxxxxxx> wrote:

> On Mon, Dec 2, 2013 at 5:02 AM, Hiroshi Doyu <hdoyu@xxxxxxxxxx> wrote:
> > Stephen Warren <swarren@xxxxxxxxxxxxx> wrote @ Sun, 1 Dec 2013 20:00:09 +0100:
> >
> >> On 11/29/2013 04:46 AM, Hiroshi Doyu wrote:
> >> ...
> >> > Iterating over a property containing a list of phandles with arguments
> >> > is a common operation for device drivers. This patch adds a new
> >> > of_property_for_each_phandle_with_args() macro to make the iteration
> >> > simpler.
> >> >
> >> > Introduced a new struct "of_phandle_iter" to keep the state when
> >> > iterating over the list.
> >> >
> >> > Signed-off-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx>
....

Rob, thank you for review.
I'll fix them and put this one into the next v7 series.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/