]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: kempld: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:06:22 +0000 (09:06 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:06 +0000 (11:21 +0100)
commit1f89bccd7fe4f27b05b6404f24a35dcc5426817d
treed57487bf4619dbc873f694b8d921c0793c9fbfa8
parent0a38fd94c20e6636c22630200a9cece122a89f0e
gpio: kempld: 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: Brunner Michael <Michael.Brunner@kontron.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-kempld.c