pinctrl: meson: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 07:26:34 +0000 (08:26 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Jan 2016 13:14:50 +0000 (14:14 +0100)
commit827c93dae7275aaf7bfc2f1b41e1e6845751dda9
treeeb0071751d2f4b7f79c1ec54fd7d42d48ea3bad1
parentacfd4c633aa394ac0323bdb2be95f5b587c0ffbd
pinctrl: meson: 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: Beniamino Galvani <b.galvani@gmail.com>
Cc: Carlo Caione <carlo@endlessm.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson.c