Heikki Krogerus e1fe7b6a7b lib/string: add sysfs_match_string helper
Make a simple helper for matching strings with sysfs
attribute files. In most parts the same as match_string(),
except sysfs_match_string() uses sysfs_streq() instead of
strcmp() for matching. This is more convenient when used
with sysfs attributes.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-23 13:48:44 +01:00
..
2017-02-24 17:46:57 -08:00
2016-10-11 15:06:30 -07:00
2015-11-23 09:44:58 +01:00
2016-02-29 09:35:20 +01:00
2017-02-24 17:46:57 -08:00
2016-02-07 23:17:59 -08:00
2017-01-24 12:23:35 -05:00
2017-01-24 12:23:35 -05:00
2014-04-30 19:49:37 +01:00
2017-02-24 17:46:57 -08:00
2017-02-13 21:44:10 -05:00
2014-05-05 09:09:14 +02:00
2016-05-23 17:04:14 -07:00
2014-08-08 15:57:25 -07:00
2015-02-12 18:54:15 -08:00
2014-06-25 17:45:43 -07:00
2016-12-06 10:17:03 +02:00
2015-09-08 14:35:59 -07:00
2017-03-07 13:18:23 -05:00
2017-02-24 17:46:57 -08:00
2015-03-23 22:12:08 -04:00
2017-02-24 17:46:56 -08:00
2016-05-30 15:26:57 -07:00
2016-08-02 17:31:41 -04:00
2017-02-27 18:43:47 -08:00