1
0
Fork 0
alistair23-linux/sound/pci/pcxhr
Takashi Iwai 20a24225d8 ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove
As drvdata is cleared to NULL at probe failure or at removal by the
driver core, we don't have to call pci_set_drvdata(pci, NULL) any
longer in each driver.

The only remaining pci_set_drvdata(NULL) is in azx_firmware_cb() in
hda_intel.c.  Since this function itself releases the card instance,
we need to clear drvdata here as well, so that it won't be released
doubly in the remove callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-29 12:37:32 +02:00
..
Makefile ALSA: pcxhr - add support for pcxhr stereo sound cards (mixer part) 2008-11-25 12:53:24 +01:00
pcxhr.c ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove 2013-05-29 12:37:32 +02:00
pcxhr.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_core.c ALSA: Make snd_printd() and snd_printdd() inline 2013-01-25 18:32:14 +01:00
pcxhr_core.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_hwdep.c ALSA: pcxhr: hard dependency on the standard fw loader 2012-11-22 17:47:59 +01:00
pcxhr_hwdep.h [ALSA] Add PCXHR driver 2006-01-03 12:30:26 +01:00
pcxhr_mix22.c ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_mix22.h ALSA: pcxhr: Add LTC support 2012-06-20 08:35:37 +02:00
pcxhr_mixer.c ALSA: pcxhr - add support for gpio ports and minor bug fix 2009-01-23 14:45:41 +01:00
pcxhr_mixer.h [ALSA] Add PCXHR driver 2006-01-03 12:30:26 +01:00