diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-08 15:49:10 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-30 10:53:04 +0200 |
commit | 1e714e54b5ca5bfc75bc43ed41f8217242e831fe (patch) | |
tree | 607976e445f5ebdf57b49181cac02e9c67eb59b8 /drivers/power/jz4740-battery.c | |
parent | 0d36fe65f58391712e11a6621075f373216e5f00 (diff) |
powerpc: qe_lib-gpio: 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: Anatolij Gustschin <agust@denx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/power/jz4740-battery.c')
0 files changed, 0 insertions, 0 deletions