summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_sai.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2013-12-20 12:17:38 +0800
committerMark Brown <broonie@linaro.org>2013-12-21 14:33:10 +0000
commita6af47ae5399baf4f5a2426b2121c1bcb9da4019 (patch)
treea50764b5521d2d333e0444809cbb199ffe5ec8dd /sound/soc/fsl/fsl_sai.c
parentb6344859b911990152e5ee411e62b82eb968004f (diff)
ASoC: fsl-sai: Remove fsl_sai_remove()
There is no need of this function and makes the code slightly shorter Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r--sound/soc/fsl/fsl_sai.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 50a797e65781..1868ec34be10 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -385,19 +385,8 @@ static int fsl_sai_dai_probe(struct snd_soc_dai *cpu_dai)
return 0;
}
-static int fsl_sai_dai_remove(struct snd_soc_dai *cpu_dai)
-{
- cpu_dai->playback_dma_data = NULL;
- cpu_dai->capture_dma_data = NULL;
-
- snd_soc_dai_set_drvdata(cpu_dai, NULL);
-
- return 0;
-}
-
static struct snd_soc_dai_driver fsl_sai_dai = {
.probe = fsl_sai_dai_probe,
- .remove = fsl_sai_dai_remove,
.playback = {
.channels_min = 1,
.channels_max = 2,