iio: core: Use __sysfs_match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 9 Jun 2017 12:08:16 +0000 (15:08 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Jun 2017 14:07:34 +0000 (15:07 +0100)
commit02e9a0ff0d7a3c9eadbff698b7146c9eaac86708
tree28fcd135ecb72ab62939c02905d1f8bf72672699
parentc306dbd88c3d1a9f41c81d38e8f756d25958d575
iio: core: Use __sysfs_match_string() helper

Use __sysfs_match_string() helper instead of open coded variant.

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-core.c