[RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()
hdoyu at nvidia.com
Tue Dec 3 01:46:50 EST 2013
On Mon, 2 Dec 2013 15:39:25 +0100
Rob Herring <robherring2 at gmail.com> wrote:
> On Mon, Dec 2, 2013 at 5:02 AM, Hiroshi Doyu <hdoyu at nvidia.com> wrote:
> > Stephen Warren <swarren at wwwdotorg.org> 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 at nvidia.com>
Rob, thank you for review.
I'll fix them and put this one into the next v7 series.
More information about the linux-arm-kernel