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:
6ce4eac
)
ASoC: atmel: sam9x5_wm8731: remove platform_set_drvdata
author
Bo Shen
<
[email protected]
>
Wed, 27 Nov 2013 10:05:10 +0000
(18:05 +0800)
committer
Mark Brown
<
[email protected]
>
Tue, 31 Dec 2013 12:27:07 +0000
(12:27 +0000)
When call snd_soc_register_card, it will set driver data to this
device through dev_set_drvdata, then in driver, no need to call
platform_set_drvdata again, so remove it.
Signed-off-by: Bo Shen <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/atmel/sam9x5_wm8731.c
patch
|
blob
|
history
diff --git
a/sound/soc/atmel/sam9x5_wm8731.c
b/sound/soc/atmel/sam9x5_wm8731.c
index 992ae38d5a15afda177080da1032300bcffd18ac..6f4e812d6e61d98dc6e2cf025e337d28c95bb63a 100644
(file)
--- a/
sound/soc/atmel/sam9x5_wm8731.c
+++ b/
sound/soc/atmel/sam9x5_wm8731.c
@@
-153,8
+153,6
@@
static int sam9x5_wm8731_driver_probe(struct platform_device *pdev)
of_node_put(codec_np);
of_node_put(cpu_np);
- platform_set_drvdata(pdev, card);
-
ret = snd_soc_register_card(card);
if (ret) {
dev_err(&pdev->dev,