iio: core: Replace iio_sysfs_match_string_with_gaps() by __sysfs_match_string()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Jan 2023 07:48:27 +0000 (09:48 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Jan 2023 17:35:23 +0000 (17:35 +0000)
commit122fb8736efce9a1bab0433ff330f3bf03d4a00e
tree4c3cae22f5c598d844c4067e276199a406b1f4ee
parentcd19fbfedca524947d0df9cab820c21237005de2
iio: core: Replace iio_sysfs_match_string_with_gaps() by __sysfs_match_string()

None of the current users is using gaps in the list of the items.
No need to have a specific function for that, just replace it by
library available __sysfs_match_string().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230118074828.66155-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-core.c