aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2013-10-13 15:51:26 -0400
committerMark Brown <broonie@linaro.org>2013-10-14 09:19:31 -0400
commit67093b253bb09276420c7b0a311425705d2714b4 (patch)
tree80746bfe4acfdcc265986844b9a63fc659eb0da6 /sound/soc/fsl
parent1b3ed70a1b22e54b6adaf6ffebe1aa6f26465bae (diff)
ASoC: fsl: remove leftover release_mem_region
When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/imx-ssi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
index f58bcd85c07f..02722897914d 100644
--- a/sound/soc/fsl/imx-ssi.c
+++ b/sound/soc/fsl/imx-ssi.c
@@ -615,7 +615,6 @@ failed_pcm_dma:
615failed_pcm_fiq: 615failed_pcm_fiq:
616 snd_soc_unregister_component(&pdev->dev); 616 snd_soc_unregister_component(&pdev->dev);
617failed_register: 617failed_register:
618 release_mem_region(res->start, resource_size(res));
619 clk_disable_unprepare(ssi->clk); 618 clk_disable_unprepare(ssi->clk);
620failed_clk: 619failed_clk:
621 snd_soc_set_ac97_ops(NULL); 620 snd_soc_set_ac97_ops(NULL);
@@ -625,7 +624,6 @@ failed_clk:
625 624
626static int imx_ssi_remove(struct platform_device *pdev) 625static int imx_ssi_remove(struct platform_device *pdev)
627{ 626{
628 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
629 struct imx_ssi *ssi = platform_get_drvdata(pdev); 627 struct imx_ssi *ssi = platform_get_drvdata(pdev);
630 628
631 imx_pcm_dma_exit(pdev); 629 imx_pcm_dma_exit(pdev);
@@ -636,7 +634,6 @@ static int imx_ssi_remove(struct platform_device *pdev)
636 if (ssi->flags & IMX_SSI_USE_AC97) 634 if (ssi->flags & IMX_SSI_USE_AC97)
637 ac97_ssi = NULL; 635 ac97_ssi = NULL;
638 636
639 release_mem_region(res->start, resource_size(res));
640 clk_disable_unprepare(ssi->clk); 637 clk_disable_unprepare(ssi->clk);
641 snd_soc_set_ac97_ops(NULL); 638 snd_soc_set_ac97_ops(NULL);
642 639