mfd: tc6393xb: Use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:06 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:58:44 +0000 (07:58 +0100)
commit4e125f62b73dffde17f4c53155654623ab2a9855
tree57c7683c54f39022467657c3e0886fcf06727a78
parent3a504105f0e4cf32464d596f3b30d23dbfd76520
mfd: tc6393xb: 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: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tc6393xb.c