aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ymfpci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-10 10:36:37 -0400
committerTakashi Iwai <tiwai@suse.de>2011-06-10 10:36:37 -0400
commit934c2b6d0cb50f9014ba0f10241e062a3bfc462d (patch)
tree663cf74994f683b73a5a069882c9062f1a1b875b /sound/pci/ymfpci
parent3733e424c4fcd8edff2090f0628f4fd245daddb5 (diff)
ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/*
The name argument of request_irq() appears in /proc/interrupts, and it's quite ugly when the name entry contains a space or special letters. In general, it's simpler and more readable when the module name appears there, so let's replace all entries with KBUILD_MODNAME. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ymfpci')
-rw-r--r--sound/pci/ymfpci/ymfpci_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c
index c94c051ad0c8..f3260e658b8a 100644
--- a/sound/pci/ymfpci/ymfpci_main.c
+++ b/sound/pci/ymfpci/ymfpci_main.c
@@ -2380,7 +2380,7 @@ int __devinit snd_ymfpci_create(struct snd_card *card,
2380 return -EBUSY; 2380 return -EBUSY;
2381 } 2381 }
2382 if (request_irq(pci->irq, snd_ymfpci_interrupt, IRQF_SHARED, 2382 if (request_irq(pci->irq, snd_ymfpci_interrupt, IRQF_SHARED,
2383 "YMFPCI", chip)) { 2383 KBUILD_MODNAME, chip)) {
2384 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); 2384 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
2385 snd_ymfpci_free(chip); 2385 snd_ymfpci_free(chip);
2386 return -EBUSY; 2386 return -EBUSY;