mfd: asic3: Use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:01 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:58:06 +0000 (07:58 +0100)
commit082cc468385dbc7bbdc234bf6f2577e64fc00bbb
treeed2245ddf87347700ebb33f92a348c1459e0e670
parentcbdd535d9481025a5a9020f9e9875b68ad86111c
mfd: asic3: 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: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/asic3.c