Re: (subset) [PATCH 3/6] [v6] leds: gpio: make legacy gpiolib interface optional
Lee Jones <[email protected]> Thu, 23 Jul 2026 14:08:47 +0100
| Newsgroups | org.kernel.vger.linux-sh,org.kernel.vger.linux-gpio,org.kernel.vger.linux-input,org.kernel.vger.linux-kernel,org.kernel.vger.linux-leds |
|---|---|
| Message-ID | <178481212701.3434788.4491931763676610326.b4-ty@b4> |
On Fri, 10 Jul 2026 23:18:51 +0200, Arnd Bergmann wrote:
> There are still a handful of ancient mips/armv5/sh boards that use the
> gpio_led:gpio member to pass an old-style gpio number, but all modern
> users have been converted to gpio descriptors.
>
> While the CONFIG_GPIOLIB_LEGACY option that guards devm_gpio_request_one()
> and related helpers is currently turned on in all kernel builds,
> the plan is to only enable it on the few platforms that actually
> pass gpio numbers in any platform_data.
>
> [...]
Applied, thanks!
[3/6] leds: gpio: make legacy gpiolib interface optional
commit: 98c5c7b0d4269ecabfc86b8b49ffcfa47979e99d
--
Lee Jones [李琼斯]