[alsa-devel] [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata
Sachin Kamat
sachin.kamat at linaro.org
Fri Sep 13 12:29:25 CEST 2013
Driver core sets the driver data to NULL on detach.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
sound/soc/fsl/fsl_ssi.c | 1 -
1 file changed, 1 deletion(-)
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);
--
1.7.9.5
More information about the Alsa-devel
mailing list