On Wed, Dec 09, 2015 at 02:40:01PM +0100, Linus Walleij wrote: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). > > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxx > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > Ralf: please ACK this so I can take it through the GPIO tree. > BTW: would be nice if the MIPS GPIO drivers could move down > to drivers/gpio in the long run. This should compile with > just #include <linux/gpio/driver.h>, I hope that works. Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Ralf