]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: xilinx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 14:20:17 +0000 (15:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:19 +0000 (11:21 +0100)
commit097d88e94c44112327011f572c7fff82a44c1d54
tree31cfa1dc536eb10c0b947b545d496ecb12185f2b
parentac9dc85eeaf2e8f19a1846979c4dc700d4fb54dc
gpio: xilinx: 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: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xilinx.c