summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 13:09:21 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-12 22:07:59 +0400
commit48dcf1d82fd8158ac8a9b843abb4965c69a19781 (patch)
tree9b05f23805253d1d6317a8a3777f7b8584442916 /sound
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadlinux-48dcf1d82fd8158ac8a9b843abb4965c69a19781.tar.xz
ASoC: mid-x86: 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')
-rw-r--r--sound/soc/mid-x86/mfld_machine.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c
index 4139116c33b5..78d582519891 100644
--- a/sound/soc/mid-x86/mfld_machine.c
+++ b/sound/soc/mid-x86/mfld_machine.c
@@ -425,7 +425,6 @@ static int snd_mfld_mc_remove(struct platform_device *pdev)
free_irq(platform_get_irq(pdev, 0), mc_drv_ctx);
snd_soc_unregister_card(&snd_soc_card_mfld);
kfree(mc_drv_ctx);
- platform_set_drvdata(pdev, NULL);
return 0;
}