ASoC: Tegra: wm8903: s/code/data/ for control/widget/maps
authorStephen Warren <swarren@nvidia.com>
Tue, 19 Apr 2011 21:25:12 +0000 (15:25 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Apr 2011 12:50:36 +0000 (13:50 +0100)
commitdea8b6eef03afdec475b981fca8622c41f8de7e2
tree02307c5d68a0e6110dfbbe9a657de4b3d967b536
parenta739362362982f3d8177df0621b68cb9156b1b60
ASoC: Tegra: wm8903: s/code/data/ for control/widget/maps

Replace calls to a variety of registration functions by updating
struct snd_soc_card snd_soc_tegra_wm8903 to directly point at the
various control/widget/map tables instead. The ASoC core now
performs any required registration based on these data fields.

(Applying Mark's TrimSlice review comments to the existing driver)

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