• Linus Walleij's avatar
    gpio: pcf857x: use gpiochip data pointer · 597358e4
    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: Grygorii Strashko <grygorii.strashko@ti.com>
    Cc: George Cherian <george.cherian@ti.com>
    Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    597358e4
gpio-pcf857x.c 12.3 KB