diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2013-12-20 04:17:38 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:36:19 (GMT) |
commit | c76d07be6739d1bfe90929ff10ff676cf54e9e7f (patch) | |
tree | aef62fe810e99e65b448f4b695fa1dc7f4675cfc /sound | |
parent | 316b16840b4d7b96aa7b173599bf1669950fc2b2 (diff) | |
download | linux-fsl-qoriq-c76d07be6739d1bfe90929ff10ff676cf54e9e7f.tar.xz |
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>
---
This patch is pulled back from upstream:
commit a6af47ae5399baf4f5a2426b2121c1bcb9da4019
Change-Id: I194d8ebdd181be51985a2440b7da038ba933dc5c
Reviewed-on: http://git.am.freescale.net:8181/19739
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'sound')
-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 1cd3e7a..5194355 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, |