commit | 5b68cc2d5963e2241d36f07c5f5964d54fa7bc6f | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Dec 07 11:18:17 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:10 2016 +0100 |
tree | f88eca418c807f58465b0ffd0beb4b0d3e06d721 | |
parent | d99f7aec6e8b4ffe10d6df71d17d2c5cbef2ac65 [diff] |
gpio: palmas: 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: Andrew Chew <achew@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>