]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: mpc8xxx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:34:28 +0000 (10:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:09 +0000 (11:21 +0100)
commit709d71a17c3383eca79ce9142b8d4ddc0f8028d0
tree143b27a934bc8cd0739ea6a122d29115b9f10fd9
parent837c2705a3d5adca3ff5532d9cb6215803bea5f2
gpio: mpc8xxx: 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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mpc8xxx.c