On Fri, Nov 6, 2020 at 10:27 AM Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> wrote: > How about we change that to an unconditional WARN() everytime the user > tries to export a GPIO over sysfs so that people switch over to the > character device? > > I'm joking a bit but I think it's time to start discouraging people > from using sysfs and a warning may be a good start. I think maybe we should hide the Kconfig for sysfs under EXPERT as well. I would also seriously don't mind to make CDEV compulsory for GPIO_SYSFS. GPIO_SYSFS depends on EXPERT select GPIO_CDEV If people to bad only want the deprecated sysfs they can patch their kernel to get rid of it :/ I will send a patch for this. Yours, Linus Walleij