Re: [PATCH v1 1/2] iio: core: Replace iio_sysfs_match_string_with_gaps() by __sysfs_match_string()

From: Andy Shevchenko
Date: Wed Jan 18 2023 - 10:52:47 EST


On Wed, Jan 18, 2023 at 07:22:30AM -0800, Lars-Peter Clausen wrote:
> On 1/17/23 23:48, Andy Shevchenko wrote:
> > 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().
>
> Hm, I specifically remember adding this for a driver where there were gaps.
> One of the DACs. But it might be that the driver itself never made it
> upstream.

I have checked all modules that have struct iio_enum and/or ("or" probably may
not happen) IIO_ENUM() in them.

It might be that I missed something.

--
With Best Regards,
Andy Shevchenko