gpio: stp-xway: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 13:34:33 +0000 (14:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:14 +0000 (11:21 +0100)
commitc63b30b08971ad5894061841a2c7f012eea747c0
treebd0a9482506322502b20f7008e3982697a665fcc
parentb03c04a0aab1715ca8c501d41f9175a9047ef79f
gpio: stp-xway: 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: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stp-xway.c