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:
a4302ed
)
ALSA: serial-u16550: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 20 May 2013 08:38:40 +0000
(14:08 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 23 May 2013 12:35:45 +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/drivers/serial-u16550.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/drivers/serial-u16550.c
b/sound/drivers/serial-u16550.c
index 7425dd8c1f095072d3163d98ccd5378594627886..e0bf5e77b43ae757d1f607b5c86a3636a4e371df 100644
(file)
--- a/
sound/drivers/serial-u16550.c
+++ b/
sound/drivers/serial-u16550.c
@@
-985,7
+985,6
@@
static int snd_serial_probe(struct platform_device *devptr)
static int snd_serial_remove(struct platform_device *devptr)
{
snd_card_free(platform_get_drvdata(devptr));
- platform_set_drvdata(devptr, NULL);
return 0;
}