ASoC: wm8903: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 22:38:20 +0000 (23:38 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:36:40 +0000 (15:36 +0200)
commit8f4160661fd251e651f24f61b7ba4c36898e2621
tree803a8b3c427015ab05274eb6b019c8b2c9ad4d08
parentdb1d127053c4c525086673e39691d274668a458d
ASoC: wm8903: 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: Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
sound/soc/codecs/wm8903.c