]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: ml-ioh: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:12:05 +0000 (10:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:08 +0000 (11:21 +0100)
commit47315578b9894140bef11e2b0fab55d2706e055c
treeddaa24b3208c95ef8f55a44a408fa14341ac22a6
parent9e03cf0b12f19ef5dd8f113350e26b6d425ebbcb
gpio: ml-ioh: 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: Feng Tang <feng.tang@intel.com>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ml-ioh.c