]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: mm-lantiq: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:19:29 +0000 (10:19 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:08 +0000 (11:21 +0100)
commit6aa7dbfa28775189c53f6ac7f1bc4adf76c9d2ec
treeff3934c033ed6da9a72122e0c401df6cb68e813b
parent47315578b9894140bef11e2b0fab55d2706e055c
gpio: mm-lantiq: 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: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mm-lantiq.c