]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: lpc18xx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 08:13:57 +0000 (09:13 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:06 +0000 (11:21 +0100)
commit9d4946358e481bbb4d3b47b4744dff6916bd4c08
treeea32fe1064baf7be9f44aa09fe13cb592cb69f94
parent73dff73d221641999bc6ed0c1a288ff58d35c8ce
gpio: lpc18xx: 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: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lpc18xx.c