]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: ucb1400: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 14:01:14 +0000 (15:01 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:17 +0000 (11:21 +0100)
commit9af4f0ab8af889cebbfd4dd70d2aa469c4f161da
tree0a32b5b1762dc0dc2af15172d19a1ff942d243dd
parent7020e7c513e91a2e18ab67935e657c4de17e9043
gpio: ucb1400: 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-ucb1400.c