summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/smdk_wm8580pcm.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 14:39:19 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-12 20:49:13 +0400
commite75fa9b1f9d430edeb848db329f924996bc964d6 (patch)
treee940bacd6539dfdaba9cbf6d6be494eddc0cec64 /sound/soc/samsung/smdk_wm8580pcm.c
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadtalos-op-linux-e75fa9b1f9d430edeb848db329f924996bc964d6.tar.gz
talos-op-linux-e75fa9b1f9d430edeb848db329f924996bc964d6.zip
ASoC: Samsung: Remove redundant platform_set_drvdata()
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> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/smdk_wm8580pcm.c')
-rw-r--r--sound/soc/samsung/smdk_wm8580pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c
index e43bd4294f99..23a9204b106d 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;
}
OpenPOWER on IntegriCloud