commit | 9e03cf0b12f19ef5dd8f113350e26b6d425ebbcb | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Dec 07 10:09:36 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:08 2016 +0100 |
tree | 2a6e76764d15b2f25c1769206b266d9d3c6e21ff | |
parent | cf90c9e35be883d8ebcca3d4a2b1044a234f24d8 [diff] |
gpio: mcp: 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: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>