]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: omap: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 10:16:00 +0000 (11:16 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:10 +0000 (11:21 +0100)
commitd99f7aec6e8b4ffe10d6df71d17d2c5cbef2ac65
tree95d736efc1d7dfe755a52031992b3df6e8c28c00
parentf5cc554e1cf17482781069b671090d3a35d5413b
gpio: omap: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c