mfd: htc-egpio: Use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:03 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:58:23 +0000 (07:58 +0100)
commit8d5f095fc5f7e36f40a80e87317828be249ee454
treea866866beadd25945e8b57911138ad3edc0bb7ec
parent4363765c851313d460db86f2d41d2eebca0d9c17
mfd: htc-egpio: 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().

Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/htc-egpio.c