summaryrefslogtreecommitdiffstats
path: root/sound/parisc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-29 12:50:59 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-29 12:50:59 +0200
commitf35e839a3ce730063174caaab8bf63432be553cf (patch)
treee7d070c6a87501af885452cf8dcf269e7f4c63eb /sound/parisc
parent8b5a1f9c46c2b78716794b8762edf659ec25a87d (diff)
downloadlinux-f35e839a3ce730063174caaab8bf63432be553cf.tar.gz
linux-f35e839a3ce730063174caaab8bf63432be553cf.tar.bz2
linux-f35e839a3ce730063174caaab8bf63432be553cf.zip
ALSA: Remove the rest of *_set_drvdata(NULL) calls
A few calls are still left in parport drivers after this commit, which I'm not quite sure yet. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/parisc')
-rw-r--r--sound/parisc/harmony.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
index 0e66ba48d453..67f56a2cee6a 100644
--- a/sound/parisc/harmony.c
+++ b/sound/parisc/harmony.c
@@ -902,8 +902,6 @@ snd_harmony_free(struct snd_harmony *h)
if (h->iobase)
iounmap(h->iobase);
- parisc_set_drvdata(h->dev, NULL);
-
kfree(h);
return 0;
}
@@ -1016,7 +1014,6 @@ static int
snd_harmony_remove(struct parisc_device *padev)
{
snd_card_free(parisc_get_drvdata(padev));
- parisc_set_drvdata(padev, NULL);
return 0;
}