On Wed, Dec 09, 2015 at 02:40:09PM +0100, Linus Walleij wrote: > Date: Wed, 9 Dec 2015 14:40:09 +0100 > From: Linus Walleij <linus.walleij@xxxxxxxxxx> > To: linux-gpio@xxxxxxxxxxxxxxx, Johan Hovold <johan@xxxxxxxxxx>, Alexandre > Courbot <acourbot@xxxxxxxxxx>, Michael Welling <mwelling@xxxxxxxx>, Markus > Pargmann <mpa@xxxxxxxxxxxxxx>, Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>, linux-mips@xxxxxxxxxxxxxx > Subject: [PATCH 141/182] MIPS: txx9: iocled: use gpiochip data pointer > > 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