Thread (33 messages) 33 messages, 5 authors, 2013-12-16

[RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

From: Hiroshi Doyu <hidden>
Date: 2013-12-03 06:47:21
Also in: linux-devicetree, linux-iommu, linux-tegra, lkml

On Mon, 2 Dec 2013 15:39:25 +0100
Rob Herring [off-list ref] wrote:
On Mon, Dec 2, 2013 at 5:02 AM, Hiroshi Doyu [off-list ref] wrote:
quoted
Stephen Warren [off-list ref] wrote @ Sun, 1 Dec 2013 20:00:09 +0100:
quoted
On 11/29/2013 04:46 AM, Hiroshi Doyu wrote:
...
quoted
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 <redacted>
....

Rob, thank you for review.
I'll fix them and put this one into the next v7 series.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help