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

Grant Likely grant.likely at secretlab.ca
Sat Apr 7 00:22:34 EDT 2012


On Tue, 13 Mar 2012 18:22:23 -0500, Rob Herring <robherring2 at gmail.com> wrote:
> From: Grant Likely <grant.likely at secretlab.ca>
> 
> 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 <grant.likely at secretlab.ca>

BTW, this patch got merged for v3.4 so you'll be able to drop it in
the next posting.

g.




More information about the linux-arm-kernel mailing list