2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/sound/pci/ca0106
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
..
ca0106_main.c ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove 2013-05-29 12:37:32 +02:00
ca0106_mixer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
ca0106_proc.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
ca0106.h ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ca_midi.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
ca_midi.h [ALSA] Coding style fix sound/pci/ca0106/ca_midi.h 2007-10-16 15:58:23 +02:00
Makefile [ALSA] snd-ca0106: Add midi support. 2005-11-04 13:19:26 +01:00