]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: da9055: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2015 15:21:53 +0000 (16:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:04 +0000 (11:21 +0100)
commit552dd7959c7d2c4f60ea4fc1f06985db76ec2beb
tree4a40f9c17e9bcbaf4d6285c5d52075af9a0aceb2
parent0f6082d2b811ec56c4f7ecdde80410e17cf04452
gpio: da9055: 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-da9055.c