diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 09:09:21 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-12 18:07:59 (GMT) |
commit | 48dcf1d82fd8158ac8a9b843abb4965c69a19781 (patch) | |
tree | 9b05f23805253d1d6317a8a3777f7b8584442916 /sound/soc | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | linux-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/soc')
-rw-r--r-- | sound/soc/mid-x86/mfld_machine.c | 1 |
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 4139116..78d5825 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; } |