summaryrefslogtreecommitdiffstats
path: root/sound/sh
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-20 14:08:43 +0530
committerTakashi Iwai <tiwai@suse.de>2013-05-23 14:36:05 +0200
commit2bc594a2764983532887c2c606172bd262c60644 (patch)
treed13820ea46817be1e5ee6f118c85692f3177b60b /sound/sh
parent464ede3ce59ba6144ff117ffa6427cac77fc6807 (diff)
downloadlinux-stable-2bc594a2764983532887c2c606172bd262c60644.tar.gz
linux-stable-2bc594a2764983532887c2c606172bd262c60644.tar.bz2
linux-stable-2bc594a2764983532887c2c606172bd262c60644.zip
ALSA: sh: aica: Remove redundant platform_set_drvdata()
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>
Diffstat (limited to 'sound/sh')
-rw-r--r--sound/sh/aica.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/sh/aica.c b/sound/sh/aica.c
index e59a73a9bc42..78a369785a9e 100644
--- 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;
}