diff mbox

[10/11] ALSA: sh: aica: Remove redundant platform_set_drvdata()

Message ID 1369039124-32590-10-git-send-email-sachin.kamat@linaro.org
State Accepted
Commit 2bc594a2764983532887c2c606172bd262c60644
Headers show

Commit Message

Sachin Kamat May 20, 2013, 8:38 a.m. UTC
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>
---
 sound/sh/aica.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/sound/sh/aica.c b/sound/sh/aica.c
index e59a73a..78a3697 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;
 }