powerpc: ppc4xx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 14:34:12 +0000 (15:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:52:52 +0000 (10:52 +0200)
commit0d36fe65f58391712e11a6621075f373216e5f00
tree643a9c2b4fe7d10edaa3743c3703f121536219fb
parenta14a2d484b386972f9027246dbe5d066519edb9f
powerpc: ppc4xx: 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>
arch/powerpc/sysdev/ppc4xx_gpio.c
This page took 0.025699 seconds and 5 git commands to generate.