]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: amdpt: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:29:41 +0000 (15:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:02 +0000 (11:21 +0100)
commitfb7228879a5a6552c9cd91561ca7c9b565a102aa
tree98b0c864b2ccdf2bcfb84187dfb623b91e0b47aa
parent57683ec203a642e8fc8befac94c8341d237f5d54
gpio: amdpt: 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: YD Tseng <ltyu101@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-amdpt.c