]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc: mpc8349emitx: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:54:45 +0000 (14:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:51:54 +0000 (10:51 +0200)
commitda5f767ef66a4c71109fdb8577b36864abc3263c
tree7c126922b82279c3e7545341ca4af048d8fcaa7d
parente99190cea39022690193938ff3e80d2faa98f389
powerpc: mpc8349emitx: 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/platforms/83xx/mcu_mpc8349emitx.c