gpio: twl4030: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 13:55:07 +0000 (14:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:16 +0000 (11:21 +0100)
commit231a8680b78260f5d9905beaf36741fcf9940a29
tree2c6f4d1222ad248cf98172c21bb289b2a731591e
parent11ab89ac4d9f3fad9737e32f40f475fb9d301232
gpio: twl4030: 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: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-twl4030.c