summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2015-09-14 17:37:35 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-25 02:00:19 +0200
commit3f5c8d3187852b1cbed8546169e6293d6d421751 (patch)
tree72bde461108542c7afb05753288a442c80d03e4c /scripts
parent504a33749971c36c54ba5ccb1364872dee1f17a7 (diff)
downloadlinux-3f5c8d3187852b1cbed8546169e6293d6d421751.tar.bz2
device property: Add fwnode_property_match_string()
Sometimes it is useful to be able to extract an index of certain string value from an array of strings. A typical use case is to give a name to a DMA channel, PWM, clock and so on. Provide an implementation using unified device property accessors that follows of_property_match_string() but works for all supported fwnodes. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions