pinctrl: amd: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 08:21:38 +0000 (09:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:14:52 +0000 (14:14 +0100)
commit04d367231162560a51e875836a1f2ebf41780adf
tree7961f892d4d32e5fdff3c3465dbbdba6f3b889a8
parentde3d851beab55f36c7a555e313331c61bbb91f0b
pinctrl: amd: 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: Ken Xue <Ken.Xue@amd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c