gpio: pl061: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 10:37:33 +0000 (11:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:11 +0000 (11:21 +0100)
commitd81b37fcad764c7babd7dd858aeb1b9afd2df5cc
treedaae174b93df02a910a577a099a021de064a5c12
parent510f48713711abed9a79aa405147687dd256d072
gpio: pl061: 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: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pl061.c