From 64e195f6c6da1be9771afd672a452e5c3414a01a Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Mon, 12 Dec 2011 09:25:58 -0700 Subject: [PATCH] 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-format-patch failed