]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
of: Add of_property_match_string() to find index into a string list
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 12 Dec 2011 16:25:58 +0000 (09:25 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 28 Jan 2012 17:29:20 +0000 (10:29 -0700)
commit7aff0fe33033fc75b61446ba29d38b1b1354af9f
tree2ddcfaf17ab0d98959478fd5133d1fe08adb8eef
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
of: Add of_property_match_string() to find index into a string list

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@secretlab.ca>
arch/arm/boot/dts/testcases/tests-phandle.dtsi
drivers/of/base.c
drivers/of/selftest.c
include/linux/of.h