mfd: ucb1x00: Use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:08 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:59:00 +0000 (07:59 +0100)
commit7d94352eba4f943734c19d172a834d0b2affec09
treee10362a83fd93ae153020123b70055d897ceac2f
parent22e5e747e71f19ac3af60ce648f4c02c63ed3cc1
mfd: ucb1x00: 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/ucb1x00-core.c