summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-13 15:59:25 +0530
committerMark Brown <broonie@linaro.org>2013-09-17 13:35:53 +0100
commitfeb8f1147618ebf20ab3e5efc143ceb621063f81 (patch)
tree97d0cda463293e695768f061fca3e7c160c9fe3e
parente19bcb6b95c0326ca364814b86b32799aa7e20db (diff)
downloadop-kernel-dev-feb8f1147618ebf20ab3e5efc143ceb621063f81.zip
op-kernel-dev-feb8f1147618ebf20ab3e5efc143ceb621063f81.tar.gz
ASoC: fsl_ssi: Remove redundant dev_set_drvdata
Driver core sets the driver data to NULL on detach. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/fsl/fsl_ssi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index 4973be7..6ac8730 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -1135,7 +1135,6 @@ static int fsl_ssi_remove(struct platform_device *pdev)
if (ssi_private->ssi_on_imx)
imx_pcm_dma_exit(pdev);
snd_soc_unregister_component(&pdev->dev);
- dev_set_drvdata(&pdev->dev, NULL);
device_remove_file(&pdev->dev, &ssi_private->dev_attr);
if (ssi_private->ssi_on_imx)
clk_disable_unprepare(ssi_private->clk);
OpenPOWER on IntegriCloud