]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: tps65010: Use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:07 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:58:51 +0000 (07:58 +0100)
commit22e5e747e71f19ac3af60ce648f4c02c63ed3cc1
tree02cdfec76902c566a049d6d4cf7b77b4928d8bf2
parent4e125f62b73dffde17f4c53155654623ab2a9855
mfd: tps65010: 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/tps65010.c