aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-20 04:38:35 -0400
committerTakashi Iwai <tiwai@suse.de>2013-05-23 08:34:09 -0400
commit5ed5824bf43da9e2931fb94043a2942d73bec283 (patch)
treee40826cfabb6bd7329aeddd398c4b315de5b5df3 /sound/drivers
parent54d672e922cdb7e015a22a3a2c096dcac5ba284f (diff)
ALSA: aloop: 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: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/aloop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 6f78de9c6fb6..f7589923effa 100644
--- a/sound/drivers/aloop.c
+++ b/sound/drivers/aloop.c
@@ -1183,7 +1183,6 @@ static int loopback_probe(struct platform_device *devptr)
1183static int loopback_remove(struct platform_device *devptr) 1183static int loopback_remove(struct platform_device *devptr)
1184{ 1184{
1185 snd_card_free(platform_get_drvdata(devptr)); 1185 snd_card_free(platform_get_drvdata(devptr));
1186 platform_set_drvdata(devptr, NULL);
1187 return 0; 1186 return 0;
1188} 1187}
1189 1188