]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: rb532: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:37:16 +0000 (14:37 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:44 +0000 (09:51 +0100)
commit41f6f8ecb7e0132e5dff9eb9e08c53e1e07661df
treea59e39342260107926540076e976b628dbaba43d
parentd98312f774ec9a5bf740aa0c062c67d268e5085b
MIPS: rb532: 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: linux-mips@linux-mips.org
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/rb532/gpio.c