commit | 597358e41070e03479a7724b16eb3c6c7ea50027 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Dec 07 11:24:05 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:11 2016 +0100 |
tree | a187fd1be12347595a96155c422329d9d56ddda2 | |
parent | 468e67f6eb7494e3c4d4d644f281d0ba0cc265c6 [diff] |
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>