]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: mc33880: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:04:32 +0000 (10:04 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:07 +0000 (11:21 +0100)
commit609f9692ccd7034aaf620a6cd4ec1b6fb9ba4c7b
tree0f9b8027be5112d10d5d61e61c1bdd21a0d4e568
parent01f76b267bdfaae5ead2fff5de7c80c81ffff1b4
gpio: mc33880: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mc33880.c