gpio: da9052: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 15:19:52 +0000 (16:19 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:04 +0000 (11:21 +0100)
commit0f6082d2b811ec56c4f7ecdde80410e17cf04452
treefd08009498f70b6e8c00e091363fdab21b1fa571
parentc634fc19fe39f49a00d0e8e922a60ae24b8855b1
gpio: da9052: 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: Ashish Jangam <ashish.jangam@kpitcummins.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-da9052.c
This page took 0.024534 seconds and 5 git commands to generate.