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

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/htc-i2cpld.c