ASoC: Remove table based DAPM/control setup support from snd_soc_platform_driver
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 20 Aug 2014 11:08:49 +0000 (13:08 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 6 Sep 2014 13:46:30 +0000 (14:46 +0100)
commit0634814fe0f29a46c44386a03f259f99c983bf7e
tree5225f367554fba11a2fadfa0234d72acbbeb15ff
parent923976a30b36ce0970e88f53ed2f2b5b61aeeb73
ASoC: Remove table based DAPM/control setup support from snd_soc_platform_driver

There are no users left and new users should rather use the component_driver
struct embedded in the snd_soc_platform_driver struct to do this. E.g.:

static const struct snd_soc_platform_driver foobar_driver = {
.component_driver = {
.dapm_widgets = ...,
.num_dapm_widgets = ...,
...,
},
...
};

instead of

static const struct snd_soc_platform_driver foobar_driver = {
.dapm_widgets = ...,
.num_dapm_widgets = ...,
...
};

This also allows us to remove the steal_sibling_dai_widgets hack.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-core.c