Re: [PATCH] gpio: omap: initialize gpioirq chip as part of gpiochip_add_data

From: Linus Walleij
Date: Wed Nov 29 2017 - 08:19:40 EST


On Wed, Nov 15, 2017 at 7:36 PM, Grygorii Strashko
<grygorii.strashko@xxxxxx> wrote:

> Hence, series from Thierry Reding [1] merged - the OMAP GPIO driver can be
> switched to reuse new feature and just fill new struct gpio_irq_chip before
> calling gpiochip_add_data() instead of using few separate gpioirq chip
> APIs. gpiochip_add_data() will do the job and create and initialize gpioirq
> chip
>
> [1] https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1531592.html
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>

Patch applied.

Thierry: can you confirm that the stuff is used as intended?

Yours,
Linus Walleij