]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: mpc5200: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:25:36 +0000 (10:25 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:08 +0000 (11:21 +0100)
commit837c2705a3d5adca3ff5532d9cb6215803bea5f2
treebffab3b1c146f40a99166068d972ec2135bec966
parent6aa7dbfa28775189c53f6ac7f1bc4adf76c9d2ec
gpio: mpc5200: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mpc5200.c