diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2013-12-19 23:17:38 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:57:36 -0400 |
commit | 87c26f664103448112eaa19183d96c33349ba30d (patch) | |
tree | 72531e7d7a858f6e522acc2fc8cfd094ce4ee8b3 /sound/soc/fsl/fsl_sai.c | |
parent | de94ab40f14a9396f66af88e862e94f7596056a5 (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>
(cherry picked from commit a6af47ae5399baf4f5a2426b2121c1bcb9da4019)
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 11 |
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) | |||
385 | return 0; | 385 | return 0; |
386 | } | 386 | } |
387 | 387 | ||
388 | static int fsl_sai_dai_remove(struct snd_soc_dai *cpu_dai) | ||
389 | { | ||
390 | cpu_dai->playback_dma_data = NULL; | ||
391 | cpu_dai->capture_dma_data = NULL; | ||
392 | |||
393 | snd_soc_dai_set_drvdata(cpu_dai, NULL); | ||
394 | |||
395 | return 0; | ||
396 | } | ||
397 | |||
398 | static struct snd_soc_dai_driver fsl_sai_dai = { | 388 | static struct snd_soc_dai_driver fsl_sai_dai = { |
399 | .probe = fsl_sai_dai_probe, | 389 | .probe = fsl_sai_dai_probe, |
400 | .remove = fsl_sai_dai_remove, | ||
401 | .playback = { | 390 | .playback = { |
402 | .channels_min = 1, | 391 | .channels_min = 1, |
403 | .channels_max = 2, | 392 | .channels_max = 2, |