ARM: w90x900: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 10:24:57 +0000 (11:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:42 +0000 (09:51 +0100)
commitc788aab7e54950629ba1360b7cfcc2a0af668415
treecf58e7d2c1ea5c9f46140aadee30a9c0d3c5ac1f
parent985b7f23cb4f4fc357947cf5edeb8832dc36ac60
ARM: w90x900: 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: arm@kernel.org
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-w90x900/gpio.c