Re: [PATCH v2] gpio: of: fix GPIO drivers with multiple gpio_chip for a single node

2016-10-25 Thread Linus Walleij
On Tue, Oct 25, 2016 at 3:47 AM, Masahiro Yamada wrote: > Sylvain Lemieux reports the LPC32xx GPIO driver is broken since > commit 762c2e46c059 ("gpio: of: remove of_gpiochip_and_xlate() and > struct gg_data"). Probably, gpio-etraxfs.c and gpio-davinci.c are > broken too. > > Those drivers regis

[PATCH v2] gpio: of: fix GPIO drivers with multiple gpio_chip for a single node

2016-10-24 Thread Masahiro Yamada
Sylvain Lemieux reports the LPC32xx GPIO driver is broken since commit 762c2e46c059 ("gpio: of: remove of_gpiochip_and_xlate() and struct gg_data"). Probably, gpio-etraxfs.c and gpio-davinci.c are broken too. Those drivers register multiple gpio_chip that are associated to a single OF node, and t