pinctrl: nsp-gpio: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Dec 2015 18:02:26 +0000 (19:02 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:15:09 +0000 (14:15 +0100)
commit27cc78e3be3abb16ff77324624a6dfb410b3d338
tree3e30181ab1d6f1e75f9ae154820fb20577cb1cdc
parent5c809c63ab508423225f5aea00f82308a427b0f9
pinctrl: nsp-gpio: 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: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c