Re: [RFC PATCH 3/5] gpio: generic: add io_port to struct gpio_generic_chip

From: Linus Walleij

Date: Thu Apr 09 2026 - 04:04:57 EST


On Tue, Apr 7, 2026 at 8:49 PM Jose Javier Rodriguez Barbarin
<dev-josejavier.rodriguez@xxxxxxxxxx> wrote:

> Add an io_port field to struct gpio_generic_chip. Initialize it
> depending on whether the GPIO_GENERIC_PORT_MAPPED flag is set.
>
> Signed-off-by: Jose Javier Rodriguez Barbarin <dev-josejavier.rodriguez@xxxxxxxxxx>

This looks reasonable!

Yours,
Linus Walleij