* [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata
@ 2013-09-13 10:29 Sachin Kamat
2013-09-17 12:36 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-09-13 10:29 UTC (permalink / raw)
To: alsa-devel; +Cc: sachin.kamat, broonie, timur
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata
2013-09-13 10:29 [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata Sachin Kamat
@ 2013-09-17 12:36 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-09-17 12:36 UTC (permalink / raw)
To: Sachin Kamat; +Cc: alsa-devel, timur
[-- Attachment #1.1: Type: text/plain, Size: 134 bytes --]
On Fri, Sep 13, 2013 at 03:59:25PM +0530, Sachin Kamat wrote:
> Driver core sets the driver data to NULL on detach.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-17 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 10:29 [PATCH 1/1] ASoC: fsl_ssi: Remove redundant dev_set_drvdata Sachin Kamat
2013-09-17 12:36 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).