diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-06-10 10:36:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-10 10:36:37 -0400 |
commit | 934c2b6d0cb50f9014ba0f10241e062a3bfc462d (patch) | |
tree | 663cf74994f683b73a5a069882c9062f1a1b875b /sound/pci/es1938.c | |
parent | 3733e424c4fcd8edff2090f0628f4fd245daddb5 (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/es1938.c')
-rw-r--r-- | sound/pci/es1938.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index 84141d16e701..26a5a2f25d4b 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c | |||
@@ -1514,7 +1514,7 @@ static int es1938_resume(struct pci_dev *pci) | |||
1514 | } | 1514 | } |
1515 | 1515 | ||
1516 | if (request_irq(pci->irq, snd_es1938_interrupt, | 1516 | if (request_irq(pci->irq, snd_es1938_interrupt, |
1517 | IRQF_SHARED, "ES1938", chip)) { | 1517 | IRQF_SHARED, KBUILD_MODNAME, chip)) { |
1518 | printk(KERN_ERR "es1938: unable to grab IRQ %d, " | 1518 | printk(KERN_ERR "es1938: unable to grab IRQ %d, " |
1519 | "disabling device\n", pci->irq); | 1519 | "disabling device\n", pci->irq); |
1520 | snd_card_disconnect(card); | 1520 | snd_card_disconnect(card); |
@@ -1636,7 +1636,7 @@ static int __devinit snd_es1938_create(struct snd_card *card, | |||
1636 | chip->mpu_port = pci_resource_start(pci, 3); | 1636 | chip->mpu_port = pci_resource_start(pci, 3); |
1637 | chip->game_port = pci_resource_start(pci, 4); | 1637 | chip->game_port = pci_resource_start(pci, 4); |
1638 | if (request_irq(pci->irq, snd_es1938_interrupt, IRQF_SHARED, | 1638 | if (request_irq(pci->irq, snd_es1938_interrupt, IRQF_SHARED, |
1639 | "ES1938", chip)) { | 1639 | KBUILD_MODNAME, chip)) { |
1640 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 1640 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
1641 | snd_es1938_free(chip); | 1641 | snd_es1938_free(chip); |
1642 | return -EBUSY; | 1642 | return -EBUSY; |