diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-12-12 17:25:58 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-01-28 18:29:20 +0100 |
commit | 7aff0fe33033fc75b61446ba29d38b1b1354af9f (patch) | |
tree | 2ddcfaf17ab0d98959478fd5133d1fe08adb8eef /drivers/of/device.c | |
parent | Linux 3.3-rc1 (diff) | |
download | linux-7aff0fe33033fc75b61446ba29d38b1b1354af9f.tar.xz linux-7aff0fe33033fc75b61446ba29d38b1b1354af9f.zip |
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>
Diffstat (limited to 'drivers/of/device.c')
0 files changed, 0 insertions, 0 deletions