ARM: plat-orion: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 12:28:31 +0000 (13:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:42 +0000 (09:51 +0100)
commit66d718ddaf1209b9449fc8a6244d06e7057e7bb7
treeaa332829c7e280812a47f545fe583b808d628a85
parentc788aab7e54950629ba1360b7cfcc2a0af668415
ARM: plat-orion: 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/plat-orion/gpio.c