]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: dln2: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Dec 2015 23:32:16 +0000 (00:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:05 +0000 (11:21 +0100)
commit1880657a15842d2e617789f98a7a68f61c870592
tree67c2e557abb09f5dcd1bef46e2171c26b0652431
parent72a1ca2cb9f415e01c2e6c1b84f172f188daf8d4
gpio: dln2: 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: Octavian Purdila <octavian.purdila@intel.com>
Cc: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dln2.c