• Linus Walleij's avatar
    powerpc: cpm_common: use gpiochip data pointer · a14a2d48
    Linus Walleij authored
    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: default avatarLinus Walleij <linus.walleij@linaro.org>
    a14a2d48
cpm_common.c 4.55 KB