]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: sh-pfc: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 09:24:54 +0000 (10:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:15:04 +0000 (14:15 +0100)
commit7cb093c4bce3a145cc1586d4464cd362376c2cc6
tree2045bff455e05a819aa7e4b20cd34c2199784494
parent88057d6e4a2a9c221bf81cfd18f25d0ff956af9e
pinctrl: sh-pfc: 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: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/gpio.c