MIPS: jz4740: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:28:45 +0000 (14:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:43 +0000 (09:51 +0100)
commitf5abf9ee51910b2cae03c11f1f7be1d6dd2be61e
tree8849b869ca0567547ef3751f35777d3094a06df1
parent6483d829201f5b14f559c343c150cf27c6c1b24e
MIPS: jz4740: 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: linux-mips@linux-mips.org
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/jz4740/gpio.c