aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/maestro3.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-10 16:36:37 +0200
committerTakashi Iwai <tiwai@suse.de>2011-06-10 16:36:37 +0200
commit934c2b6d0cb50f9014ba0f10241e062a3bfc462d (patch)
tree663cf74994f683b73a5a069882c9062f1a1b875b /sound/pci/maestro3.c
parentALSA: Use KBUILD_MODNAME for pci_driver.name entries (diff)
downloadlinux-dev-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.tar.xz
linux-dev-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.zip
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/maestro3.c')
-rw-r--r--sound/pci/maestro3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index 0499bf8716d0..64f6f627f4c2 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -2757,7 +2757,7 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci,
#endif
if (request_irq(pci->irq, snd_m3_interrupt, IRQF_SHARED,
- card->driver, chip)) {
+ KBUILD_MODNAME, chip)) {
snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
snd_m3_free(chip);
return -ENOMEM;