gpio: pcf857x: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Dec 2015 10:24:05 +0000 (11:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 10:21:11 +0000 (11:21 +0100)
commit597358e41070e03479a7724b16eb3c6c7ea50027
treea187fd1be12347595a96155c422329d9d56ddda2
parent468e67f6eb7494e3c4d4d644f281d0ba0cc265c6
gpio: pcf857x: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: George Cherian <george.cherian@ti.com>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pcf857x.c
This page took 0.024542 seconds and 5 git commands to generate.