]> git.baikalelectronics.ru Git - kernel.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)
commit42c00c2b345693f866b067ab6d50f822b39872b1
tree4a40f9c17e9bcbaf4d6285c5d52075af9a0aceb2
parent39f20fae67e9db3204a81dda036af388cb378c83
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