Re: [PATCH v2 6/8] gpiolib: remove legacy gpio_export

From: Linus Walleij
Date: Tue Nov 09 2021 - 15:42:45 EST


On Tue, Nov 9, 2021 at 11:50 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:

> I think the TODO list is in Linus' head,

Oh no, drivers/gpio/TODO

> but it would include all the files
> that use one of the interfaces in linux/gpio.h. I found about 350 of them,
> so there is little point in listing them one at a time. IIRC Linus is going
> through those one subsystem at a time.

Yeah but if it's just me I doubt that I will manage to do it by the
time I retire in 2037 or so... So the TODO is there to inspire others
to step in and help out.

> I also found that we have a ton of users of linux/of_gpio.h, which is
> somewhere inbetween the linux/gpio.h interface and the
> linux/gpio/consumer.h version.

This is also mentioned in the TODO.

Yours,
Linus Walleij