aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mid-x86
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-03 05:09:21 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-12 14:07:59 -0400
commit48dcf1d82fd8158ac8a9b843abb4965c69a19781 (patch)
tree9b05f23805253d1d6317a8a3777f7b8584442916 /sound/soc/mid-x86
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
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/soc/mid-x86')
-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)
425 free_irq(platform_get_irq(pdev, 0), mc_drv_ctx); 425 free_irq(platform_get_irq(pdev, 0), mc_drv_ctx);
426 snd_soc_unregister_card(&snd_soc_card_mfld); 426 snd_soc_unregister_card(&snd_soc_card_mfld);
427 kfree(mc_drv_ctx); 427 kfree(mc_drv_ctx);
428 platform_set_drvdata(pdev, NULL);
429 return 0; 428 return 0;
430} 429}
431 430