projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c7d0d
)
ALSA: powermac: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 20 May 2013 08:38:42 +0000
(14:08 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 23 May 2013 12:35:58 +0000
(14:35 +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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/powermac.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/ppc/powermac.c
b/sound/ppc/powermac.c
index 09fc848d32ecd475951f09513e492e78a03d2a1c..8abb521b4814b413a9423edf48bf2d7e41c08e2e 100644
(file)
--- a/
sound/ppc/powermac.c
+++ b/
sound/ppc/powermac.c
@@
-139,7
+139,6
@@
__error:
static int snd_pmac_remove(struct platform_device *devptr)
{
snd_card_free(platform_get_drvdata(devptr));
- platform_set_drvdata(devptr, NULL);
return 0;
}