summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-typec
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2017-03-21 14:56:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 15:48:44 +0300
commite1fe7b6a7b376bfb54558725ddb2a89aaaa4adcc (patch)
tree2f0f4a94cdb3c915aeb1fdbb60c1753868107743 /Documentation/ABI/testing/sysfs-class-typec
parent8b373ffc797713337f42f0e58d832d5cae86752c (diff)
downloadlinux-e1fe7b6a7b376bfb54558725ddb2a89aaaa4adcc.tar.xz
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>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-typec')
0 files changed, 0 insertions, 0 deletions