]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: amd8111: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:26:35 +0000 (15:26 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:02 +0000 (11:21 +0100)
commit57683ec203a642e8fc8befac94c8341d237f5d54
tree58250b07f5b040e40eb1c9e5eaf668d925311352
parent397d0773a9044c8df1be87e53840ab374932d80c
gpio: amd8111: 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: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-amd8111.c