On Wed, Jan 25, 2023 at 10:35 AM Sascha Hauer <sha@xxxxxxxxxxxxxx> wrote: > I can understand that you want to get rid of the global GPIO number > space. Currently you can't, because there are still hundreds of > in-Kernel users of the legacy API. It is ~500 and used to be thousands. An update on that specifically. Mainline: $ git grep 'linux\/gpio\.h' | wc -l 505 linux-next: $ git grep 'linux\/gpio\.h' | wc -l 362 This is because Arnd delete a big slew of unmaintained boardfiles which were the big offenders. Now certainly we can fix 362 files soon enough, especially since we have not just me, but Dmitry T and Andy S and Arnd working on it in parallel. Yours, Linus Walleij