commit | 56b427678cc3c1c4e305a96c9cfa8ba985c70a48 | [log] [tgz] |
---|---|---|
author | Fabian Frederick <fabf@skynet.be> | Sun Sep 14 15:56:55 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Sep 23 17:51:39 2014 +0200 |
tree | fdedc26c8f75d9bf4e1c9295cda6ef66f3e86a54 | |
parent | 1e960dbb7b12886d2095df05adf8754eef1c26d0 [diff] |
gpio: use container_of to resolve cs5535_gpio_chip from gpio_chip Use container_of instead of casting first structure member. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>