Re: [PATCH 1/2] lib: add __sysfs_match_string_with_gaps() helper

From: Greg KH
Date: Mon Apr 22 2019 - 17:06:14 EST


On Mon, Apr 22, 2019 at 11:32:56AM +0300, Alexandru Ardelean wrote:
> This helper is similar to __sysfs_match_string() with the exception that it
> ignores NULL elements within the array.

sysfs is "one value per file", why are you trying to write multiple
things on a single line to a single sysfs file?

Is IIO really that messy? :)

thanks,

greg k-h