Re: [PATCH 0/2 v8] gpiolib: finish the legacy cleanup

From: Arnd Bergmann

Date: Tue Nov 24 2026 - 05:54:17 EST


On Tue, Nov 24, 2026, at 02:10, Dmitry Torokhov wrote:
> Hi Bartosz,
>
> On Mon, Nov 23, 2026 at 04:41:32PM +0100, Bartosz Golaszewski wrote:
>> Can I apply v7 and provide it to the SH maintainers on an immutable
>> branch?
>
> BTW, I have the soc_button_array rework (converting it to software nodes
> and dropping "select GPIOLIB_LEGACY") on an immutable branch based on
> v7.4-rc2:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
> ib/7.4-rc2-soc-button-array

Nice to see that this is ready.

> I recommend pulling it into the gpio tree before applying Arnd's work so
> that x86 builds with INPUT_SOC_BUTTON_ARRAY enabled no longer pull in
> CONFIG_GPIOLIB_LEGACY either.

I don't think the order matters, my patch 1/2 just won't have an
effect on configurations that enable INPUT_SOC_BUTTON_ARRAY until your
patch is merged.

Arnd