On Thu, May 7, 2020 at 5:40 AM Kent Gibson <warthog618@xxxxxxxxx> wrote: > > This would of course add a lot of cruft to the uAPI code. I'd start by > > moving it out of drivers/gpio/gpiolib.c into a new file: > > drivers/gpio/gpiolib-cdev.c. This way we'd have everything related to > > the character device in one place. It would make it easier to: a) add > > a config option for disabling it entirely and b) add a config option > > to disable the v1 of the ioctl()s. > > > > Ok, that is widening the scope of the change again, but I'm still willing > to have a go at it. I'm very happy if you work on it because you did a great job with gpiolib so far! Yours, Linus Walleij