pinctrl: vt8500-wmt: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 21:50:08 +0000 (22:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:15:08 +0000 (14:15 +0100)
commit5c809c63ab508423225f5aea00f82308a427b0f9
treeb00af50def34f345ba8e7220d03da9de818c2ec7
parentdbf09b0aa9e75222dda7aa4f2fcd3eca107cf450
pinctrl: vt8500-wmt: 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: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/vt8500/pinctrl-wmt.c