On Tue, Mar 15, 2022 at 10:35 AM Marc Zyngier <maz@xxxxxxxxxx> wrote: > > I'm happy with this approach as long as the 300+ drivers get fixed > > and the old way of doing it gets deleted. > > Of course. Note that it will take some time before it actually happens. > My current plan is to stick in a pr_warn() each time a driver > following the old scheme gets registered, as a nudge for people to > update their driver if they care about it. Fair enough, we have a bunch of those WIP churn tasks in GPIO anyways. What about adding a blurb to: drivers/gpio/TODO so we have it on the radar? > Regarding documentation, are you OK with me simply replacing the > current code samples with the new approach? It will at least avoid > giving people the wrong idea. I also want to write a brief migration > guide that people willing to bump up their patch count can follow. Yup > I'll repost something once -rc1 is out. Sounds good! Yours, Linus Walleij