ASoC: wm5100: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 22:31:28 +0000 (23:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:36:19 +0000 (15:36 +0200)
commitdb1d127053c4c525086673e39691d274668a458d
tree75ff10ae26d537288960d09dd2f86accdad1c707
parent14900363454b8244b41f77f42013a22db20bb2e2
ASoC: wm5100: 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/wm5100.c
This page took 0.024821 seconds and 5 git commands to generate.