commit | fb7228879a5a6552c9cd91561ca7c9b565a102aa | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Dec 04 15:29:41 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:02 2016 +0100 |
tree | 98b0c864b2ccdf2bcfb84187dfb623b91e0b47aa | |
parent | 57683ec203a642e8fc8befac94c8341d237f5d54 [diff] |
gpio: amdpt: 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: YD Tseng <ltyu101@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>