]> git.baikalelectronics.ru Git - kernel.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)
commit521a8af047c57ef133378263059a84b9b59916ff
tree02cdfec76902c566a049d6d4cf7b77b4928d8bf2
parentfa47d80e2541d5e1af92f731f0f825bfcba5a30f
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