]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: 104-idi-48: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 3 Dec 2015 14:31:48 +0000 (15:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:01 +0000 (11:21 +0100)
commit1f36bec53f045c72707b40723d70d39ba1099122
treec09600722a1f7fbfe32317c97bb22c30c3b56452
parent0f4630f3720e7e6e921bf525c8357fea7ef3dbab
gpio: 104-idi-48: 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: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-104-idi-48.c