Re: [MAINTAINER SUMMIT] Enforcing API deprecation

Bartosz Golaszewski
2025-08-27T15:31:49Z

On Wed, 27 Aug 2025 at 16:58, Julia Lawall <julia.lawall@inria.fr> wrote:
>

[snip]

> >
> > And to address your last sentence on a personal note: thing's arent
> > always so black and white - for me: I inherited the GPIO subsystem
> > with both the old and the new API already present tree-wide and am
> > just trying to improve the pre-existing situation.
>
> Is there some centralized place listing what APis need attention and
> giving some hints about what should be done? Hints could be text or
> change examples or pointers to commits where the change has been done.
>
> julia

There's a TODO entry[1], a talk where I described the heaps of
technical debt we're dealing with[2] and lots of patches on the list
called typically something like "convert to GPIO descriptors" and
which look like this[3] or this[4] so quite different depending on
circumstances.

Bartosz

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/TODO#n6
[2] https://www.youtube.com/watch?v=BR41Yg69c9Y
[3] https://lore.kernel.org/all/20250808151822.536879-18-arnd@kernel.org/
[4] https://lore.kernel.org/all/20240423-gpio-leds-v1-3-799c2f6bc61c@linaro.org/