projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f722406
)
ASoC: mid-x86: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<
[email protected]
>
Fri, 3 May 2013 09:09:21 +0000
(14:39 +0530)
committer
Mark Brown
<
[email protected]
>
Sun, 12 May 2013 18:07:59 +0000
(22:07 +0400)
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 <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/mid-x86/mfld_machine.c
patch
|
blob
|
history
diff --git
a/sound/soc/mid-x86/mfld_machine.c
b/sound/soc/mid-x86/mfld_machine.c
index 4139116c33b51f85bbc1794a885488f14811ec7e..78d5825198914f21f2bb5a15d8fdc98b31dfbd3f 100644
(file)
--- 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;
}