ASoC: wm8962: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 22:41:55 +0000 (23:41 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:36:40 +0000 (15:36 +0200)
commitf42b6f5800b6d06442c193d4beb423b0186e7b6a
tree8f8afb38862726fa068fb76b3442736cf8fe0745
parent8f4160661fd251e651f24f61b7ba4c36898e2621
ASoC: wm8962: 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/wm8962.c