gpio: em: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Dec 2015 23:36:39 +0000 (00:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:05 +0000 (11:21 +0100)
commit6219e7bba9d52ea5d40cd50d0cfe6059c2630fab
tree35693aa73598b5bfd71963175a1b725e685e5c02
parent1880657a15842d2e617789f98a7a68f61c870592
gpio: em: 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: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-em.c
This page took 0.028044 seconds and 5 git commands to generate.