diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 14:08:43 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 14:36:05 +0200 |
commit | 2bc594a2764983532887c2c606172bd262c60644 (patch) | |
tree | d13820ea46817be1e5ee6f118c85692f3177b60b /sound | |
parent | 464ede3ce59ba6144ff117ffa6427cac77fc6807 (diff) |
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')
-rw-r--r-- | sound/sh/aica.c | 1 |
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; } |