WSL2-Linux-Kernel/sound/pci/emu10k1
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: clean up the logic for building sequencer modules 2009-05-29 11:49:42 +02:00
emu10k1.c ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove 2013-05-29 12:37:32 +02:00
emu10k1_callback.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
emu10k1_main.c ALSA: emu10k1: Fix dock firmware loading 2013-04-24 08:11:49 +02:00
emu10k1_patch.c treewide: fix typo of "suppport" in various comments 2012-11-19 14:13:52 +01:00
emu10k1_synth.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
emu10k1_synth_local.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
emu10k1x.c ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove 2013-05-29 12:37:32 +02:00
emufx.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
emumixer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
emumpu401.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
emupcm.c ALSA: emu10k1: Allow to switch hardware sampe rate on EMU 2013-02-25 13:39:51 +01:00
emuproc.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
io.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
irq.c [ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel bug#9304. 2008-01-31 17:30:24 +01:00
memory.c ALSA: emu10k1: use list_move_tail instead of list_del/list_add_tail 2012-09-05 09:15:12 +02:00
p16v.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
p16v.h Fix common misspellings 2011-03-31 11:26:23 -03:00
p17v.h [ALSA] emu10k1: Add Audio capture support for Audigy 2 ZS Notebook. 2007-02-09 09:02:17 +01:00
timer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
tina2.h [ALSA] emu10k1: Add support for Audigy4 (not Pro) 2006-06-22 21:32:37 +02:00
voice.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00