]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: f7188: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 6 Dec 2015 09:51:13 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:05 +0000 (11:21 +0100)
commitf372d5f59cc4879eee3efe19e309f95c4078d748
treeca23e9d6a4b7f1d890143c2c36e362be3d6dd65c
parent6219e7bba9d52ea5d40cd50d0cfe6059c2630fab
gpio: f7188: 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: Andreas Bofjall <andreas@gazonk.org>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-f7188x.c