summaryrefslogtreecommitdiffstats
path: root/Documentation/usb
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2017-03-21 13:56:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 13:48:44 +0100
commite1fe7b6a7b376bfb54558725ddb2a89aaaa4adcc (patch)
tree2f0f4a94cdb3c915aeb1fdbb60c1753868107743 /Documentation/usb
parent8b373ffc797713337f42f0e58d832d5cae86752c (diff)
downloadlinux-e1fe7b6a7b376bfb54558725ddb2a89aaaa4adcc.tar.bz2
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/usb')
0 files changed, 0 insertions, 0 deletions