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)
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>

No differences found