]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: f7188x: use gpiochip_get_data instead of container_of
authorAmitesh Singh <singh.amitesh@gmail.com>
Fri, 16 Sep 2016 16:58:53 +0000 (22:28 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Sep 2016 11:35:06 +0000 (13:35 +0200)
commit35a26144a193536eb8870de99ff4b7093b7879a3
tree7ae511ea3edaf7e80c998ea3fdde9c1982a0b366
parent8df759c9e66d91507b653433b14ef2216d19ee29
gpio: f7188x: use gpiochip_get_data instead of container_of

gpiochip_add_data is already used to add data pointer and chip.
Lets rely on gpiochip_get_data which is getting used in other
gpio_chip functions.

Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-f7188x.c