]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: mc9s08dz60: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 09:07:07 +0000 (10:07 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:08 +0000 (11:21 +0100)
commitcf90c9e35be883d8ebcca3d4a2b1044a234f24d8
tree2fd9f3b09b2698f900112ff7b4314264293e8924
parent609f9692ccd7034aaf620a6cd4ec1b6fb9ba4c7b
gpio: mc9s08dz60: 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: wu guoxing <b39297@freescale.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mc9s08dz60.c