gpio: tc3589x: use static container helper
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Aug 2015 12:05:26 +0000 (14:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Aug 2015 12:06:33 +0000 (14:06 +0200)
commit0c9fc10df211e0c931787a51c58caf487035f74e
tree70a04a93363d08c58c00bd2e653a52d6a8eadc5b
parenta0c81ce08791d3892aacba341efa29fadf30beda
gpio: tc3589x: use static container helper

There is a helper function to do the container_of() magic for
the tc3589x GPIO, so use it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c