commit | 8ca7f1fab866a0ce22c878cb824ba5f73c3e0556 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Dec 07 14:24:24 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:13 2016 +0100 |
tree | 11b69d04ab612551a96801004fb67cad3f44c3fb | |
parent | 737c8fccf1c5b2aae3c6d9a66dce17e35fc39b71 [diff] |
gpio: sch311x: 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: Bruno Randolf <br1@einfach.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>