ASoC: ac97: use gpiochip data pointer
commitf7cb5120c4e0de10c3e069f5318417da0326fb45
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 22:48:29 +0000 (8 23:48 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:36:57 +0000 (26 15:36 +0200)
treea527019d127e10faa5bc3feed63358876d5b8f9e
parentc2aea142af6179d757424a21110da3fc90127e02
ASoC: ac97: 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: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
sound/soc/soc-ac97.c