ASoC: Tegra: Don't store snd_soc_jack_gpio in an array
authorStephen Warren <swarren@nvidia.com>
Tue, 12 Apr 2011 17:40:38 +0000 (11:40 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 Apr 2011 20:34:03 +0000 (21:34 +0100)
commit3eb25f998d3aede5f0011ba236e7586351e450bf
tree2c62e7c626c4823fe601fba417501b5d34296b5d
parent2ba9471b34f48eab9f6e097ef305746b33e12f85
ASoC: Tegra: Don't store snd_soc_jack_gpio in an array

Storing the struct in an array makes the assignments to the GPIO member a
little non-obvious, and is pointless when there's only a single GPIO.

(I thought I fixed this during the review cycle when first submitting this
driver, but I guess I overlooked that)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_wm8903.c