]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: cs5535: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 14:53:04 +0000 (15:53 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:04 +0000 (11:21 +0100)
commit51c078b42d7f394c1b454f7f6badfc70cbb2ade2
tree0c1bd3c1b21b22d1234eedbe9c35da20ad4711d3
parentb0a9e4c3a278b68203d03cd2d7a55761f8bf60ae
gpio: cs5535: 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: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-cs5535.c