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

Acked-By: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mb86s7x.c