]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: altera: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:16:43 +0000 (15:16 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:02 +0000 (11:21 +0100)
commit397d0773a9044c8df1be87e53840ab374932d80c
treeb2e9a9eb866b74237b673449acca8e81507e61a8
parentf69255ce67b6e6f496d165b48231075262c9a225
gpio: altera: 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: Tien Hock Loh <thloh@altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-altera.c