All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ASoC: Samsung: Remove redundant platform_set_drvdata()
@ 2013-05-03  9:09 Sachin Kamat
  2013-05-03  9:09 ` [PATCH 2/6] ASoC: omap-mcbsp: " Sachin Kamat
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Sachin Kamat @ 2013-05-03  9:09 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, sachin.kamat, broonie, Sangbeom Kim, patches

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Sangbeom Kim <sbkim73@samsung.com>
---
 sound/soc/samsung/smdk_wm8580pcm.c |    1 -
 sound/soc/samsung/smdk_wm8994pcm.c |    1 -
 2 files changed, 2 deletions(-)

diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c
index e43bd42..23a9204 100644
--- a/sound/soc/samsung/smdk_wm8580pcm.c
+++ b/sound/soc/samsung/smdk_wm8580pcm.c
@@ -176,7 +176,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
 static int snd_smdk_remove(struct platform_device *pdev)
 {
 	snd_soc_unregister_card(&smdk_pcm);
-	platform_set_drvdata(pdev, NULL);
 	return 0;
 }
 
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c
index 3688a32..0c84ca0 100644
--- a/sound/soc/samsung/smdk_wm8994pcm.c
+++ b/sound/soc/samsung/smdk_wm8994pcm.c
@@ -146,7 +146,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
 static int snd_smdk_remove(struct platform_device *pdev)
 {
 	snd_soc_unregister_card(&smdk_pcm);
-	platform_set_drvdata(pdev, NULL);
 	return 0;
 }
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-05-07  1:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03  9:09 [PATCH 1/6] ASoC: Samsung: Remove redundant platform_set_drvdata() Sachin Kamat
2013-05-03  9:09 ` [PATCH 2/6] ASoC: omap-mcbsp: " Sachin Kamat
2013-05-03  9:36   ` Mark Brown
2013-05-03  9:09 ` [PATCH 3/6] ASoC: mid-x86: " Sachin Kamat
2013-05-03  9:37   ` Mark Brown
2013-05-03  9:09 ` [PATCH 4/6] ASoC: ep93xx: " Sachin Kamat
2013-05-03  9:38   ` Mark Brown
2013-05-03  9:09 ` [PATCH 5/6] ASoC: 88pm860x: " Sachin Kamat
2013-05-07  1:53   ` Haojian Zhuang
2013-05-03  9:09 ` [PATCH 6/6] ASoC: jz4740: " Sachin Kamat
2013-05-03  9:24   ` Lars-Peter Clausen
2013-05-03  9:40   ` Mark Brown
2013-05-03  9:34 ` [PATCH 1/6] ASoC: Samsung: " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.