gpio: wm831x: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 14:11:34 +0000 (15:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:18 +0000 (11:21 +0100)
commit9b3c817b529e0bbe0d5a0a45e86e8647a729640c
tree1f7aa752029827a98c360dae842433a6f88dd564
parent9355879ea42b84914ab27064df6760b2a7db0883
gpio: wm831x: 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: patches@opensource.wolfsonmicro.com
Cc: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-wm831x.c
This page took 0.026518 seconds and 5 git commands to generate.