aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm_common.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-12-08 15:00:49 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-30 10:52:28 +0200
commite65078f1f3490c753f8c223b088e8a482968b891 (patch)
treedf894d5bd3b3016c9aec7d0d0f3f80f9a7d75336 /arch/powerpc/sysdev/cpm_common.c
parentpowerpc: mpc8349emitx: use gpiochip data pointer (diff)
downloadlinux-dev-e65078f1f3490c753f8c223b088e8a482968b891.tar.xz
linux-dev-e65078f1f3490c753f8c223b088e8a482968b891.zip
powerpc: sysdev: cpm1: 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 '')
0 files changed, 0 insertions, 0 deletions