]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: qe_lib-gpio: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 14:49:10 +0000 (15:49 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:53:04 +0000 (10:53 +0200)
commit1e714e54b5ca5bfc75bc43ed41f8217242e831fe
tree607976e445f5ebdf57b49181cac02e9c67eb59b8
parent0d36fe65f58391712e11a6621075f373216e5f00
powerpc: qe_lib-gpio: 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: Anatolij Gustschin <agust@denx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/soc/fsl/qe/gpio.c