commit | 5b90b8c217e92ce9f027af5aa2cb12bdbbd2127a | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Dec 07 14:36:31 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 05 11:21:14 2016 +0100 |
tree | a18921a7a4032ece431442cf32d0f8c1ddcd2689 | |
parent | c63b30b08971ad5894061841a2c7f012eea747c0 [diff] |
gpio: sx150x: 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: Wei Chen <Wei.Chen@csr.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>