projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3183520
)
ALSA: mips/sgio2audio: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 08:01:35 +0000
(13:31 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 6 May 2013 08:45:54 +0000
(10:45 +0200)
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>
Cc: Vivien Chappelier <vivien.chappelier@linux-mips.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/mips/sgio2audio.c
patch
|
blob
|
history
diff --git
a/sound/mips/sgio2audio.c
b/sound/mips/sgio2audio.c
index 01a03efdc8b042059668e24274ac25799af63029..cfe99ae149fed9f55d70dc10f23e12e59fa4ee34 100644
(file)
--- a/
sound/mips/sgio2audio.c
+++ b/
sound/mips/sgio2audio.c
@@
-963,7
+963,6
@@
static int snd_sgio2audio_remove(struct platform_device *pdev)
struct snd_card *card = platform_get_drvdata(pdev);
snd_card_free(card);
- platform_set_drvdata(pdev, NULL);
return 0;
}