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:
464ede3
)
ALSA: sh: aica: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 20 May 2013 08:38:43 +0000
(14:08 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 23 May 2013 12:36:05 +0000
(14:36 +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: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sh/aica.c
patch
|
blob
|
history
diff --git
a/sound/sh/aica.c
b/sound/sh/aica.c
index e59a73a9bc427602717633ea66953a73950d2d18..78a369785a9ecf3b3e8d1a72e6b536e6a8ddb89a 100644
(file)
--- a/
sound/sh/aica.c
+++ b/
sound/sh/aica.c
@@
-598,7
+598,6
@@
static int snd_aica_remove(struct platform_device *devptr)
return -ENODEV;
snd_card_free(dreamcastcard->card);
kfree(dreamcastcard);
- platform_set_drvdata(devptr, NULL);
return 0;
}