aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/emu10k1x.c
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/emu10k1/emu10k1x.c
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/emu10k1/emu10k1x.c')
-rw-r--r--sound/pci/emu10k1/emu10k1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c
index c9cb73105525..d4fde1b4b093 100644
--- a/sound/pci/emu10k1/emu10k1x.c
+++ b/sound/pci/emu10k1/emu10k1x.c
@@ -925,7 +925,7 @@ static int __devinit snd_emu10k1x_create(struct snd_card *card,
925 } 925 }
926 926
927 if (request_irq(pci->irq, snd_emu10k1x_interrupt, 927 if (request_irq(pci->irq, snd_emu10k1x_interrupt,
928 IRQF_SHARED, "EMU10K1X", chip)) { 928 IRQF_SHARED, KBUILD_MODNAME, chip)) {
929 snd_printk(KERN_ERR "emu10k1x: cannot grab irq %d\n", pci->irq); 929 snd_printk(KERN_ERR "emu10k1x: cannot grab irq %d\n", pci->irq);
930 snd_emu10k1x_free(chip); 930 snd_emu10k1x_free(chip);
931 return -EBUSY; 931 return -EBUSY;