From: Grant Likely Date: Mon, 12 Dec 2011 16:25:58 +0000 (-0700) Subject: of: Add of_property_match_string() to find index into a string list X-Git-Tag: v3.2.70~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e195f6c6da1be9771afd672a452e5c3414a01a;p=pandora-kernel.git of: Add of_property_match_string() to find index into a string list commit 7aff0fe33033fc75b61446ba29d38b1b1354af9f upstream. 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 [jt: dropped changes to files not existing in the 3.2 tree] Signed-off-by: Jonathan Toppins Reviewed-by: Andy Gospodarek Acked-by: Curt Brune Acked-by: Roopa Prabhu Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed