[PATCH 3/7] of: Add of_property_match_string() to find index into a string list

From
Grant Likely <hidden>
Date
2012-04-07 04:22:34
Also in
linux-devicetree
Reply to
Rob Herring, 2012-03-13
On Tue, 13 Mar 2012 18:22:23 -0500, Rob Herring [off-list ref] wrote:
From: Grant Likely <redacted>

Add a helper function for finding the index of a string in a string
list property.  This helper is useful for bindings that use a separate
*-name property for attaching names to tuples in another property such
as 'reg' or 'gpios'.

Signed-off-by: Grant Likely <redacted>
BTW, this patch got merged for v3.4 so you'll be able to drop it in
the next posting.

g.
Thread (11 messages) 11 messages, 4 authors, last reply 2012-04-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help