Re: [PATCH 00/36] pinctrl: don't use GPIOLIB global numberspace in helpers
From: Linus Walleij
Date: Tue Oct 03 2023 - 17:51:23 EST
On Tue, Oct 3, 2023 at 4:51 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> We have a set of pinctrl helpers for GPIOLIB drivers that take a number
> from the global GPIO numberspace as argument. We are trying to get rid
> of this global numbering. Let's rework these helpers to use the
> recommended gpio_chip + controller-relative offset instead.
>
> This work is split into phases: first let's introduce the new variants
> of the helpers. Next: let's convert all users one-by-one for easier
> review. Finally let's remove the old helpers and rename the new variants
> to take the place of the old ones.
Almost too good attention to process here, I hope you used some
tooling and didn't do all this by hand...
I reviewed it by applying the lot with b4 on a branch off
my devel branch, and
git diff devel..HEAD
which shows what the goal of the patches is and since the
kernel clearly looks better after than before the patches:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Or I can just merge this branch into my devel (for v6.7)
branch, and offer you the same as immutable.
Which is my plan.
Shall I just do it?
Yours,
Linus Walleij