[alsa-devel] [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata
13 Sep
2013
13 Sep
'13
12:29 p.m.
Driver core sets the driver data to NULL on detach.
Signed-off-by: Sachin Kamat sachin.kamat@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
4114
Age (days ago)
4118
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mark Brown
-
Sachin Kamat