Re: [PATCH 2/4] gpiolib: of: compile of_find_trigger_gpio() conditionally

Linus Walleij <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAD++jL=8ypbgQAs0G-5jHZRsbcFWeMEKAFFG9dEt-CZfXKjFXQ@mail.gmail.com>
On Sat, Jul 18, 2026 at 6:13 AM Dmitry Torokhov
<[email protected]> wrote:

> Compile of_find_trigger_gpio() and include its entry in the
> of_find_gpio_quirks table only when CONFIG_LEDS_TRIGGER_GPIO is enabled,
> and remove the redundant runtime check.
>
> Assisted-by: Antigravity:gemini-3.5-flash
> Signed-off-by: Dmitry Torokhov <[email protected]>

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.