]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: max730x: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:27:05 +0000 (09:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:07 +0000 (11:21 +0100)
commit5e45e019161977c70e236a043133cfa106cebbd9
treed6666eedb7ed661fe1111de8a5501a373eb8f7ff
parentf291e0063ba6c19ec3b60cce08293f78c0faf969
gpio: max730x: 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: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max730x.c