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/rme9652 | |
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/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 2 | ||||
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 2 | ||||
-rw-r--r-- | sound/pci/rme9652/rme9652.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index da50c5562942..1c6d1e1c27c1 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -5482,7 +5482,7 @@ static int __devinit snd_hdsp_create(struct snd_card *card, | |||
5482 | } | 5482 | } |
5483 | 5483 | ||
5484 | if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_SHARED, | 5484 | if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_SHARED, |
5485 | "hdsp", hdsp)) { | 5485 | KBUILD_MODNAME, hdsp)) { |
5486 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); | 5486 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); |
5487 | return -EBUSY; | 5487 | return -EBUSY; |
5488 | } | 5488 | } |
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 2785f4cef349..32d0c9c35007 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -6437,7 +6437,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card, | |||
6437 | hdspm->port + io_extent - 1); | 6437 | hdspm->port + io_extent - 1); |
6438 | 6438 | ||
6439 | if (request_irq(pci->irq, snd_hdspm_interrupt, | 6439 | if (request_irq(pci->irq, snd_hdspm_interrupt, |
6440 | IRQF_SHARED, "hdspm", hdspm)) { | 6440 | IRQF_SHARED, KBUILD_MODNAME, hdspm)) { |
6441 | snd_printk(KERN_ERR "HDSPM: unable to use IRQ %d\n", pci->irq); | 6441 | snd_printk(KERN_ERR "HDSPM: unable to use IRQ %d\n", pci->irq); |
6442 | return -EBUSY; | 6442 | return -EBUSY; |
6443 | } | 6443 | } |
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index 9646a8422a85..1c7bc1ef8186 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c | |||
@@ -2479,7 +2479,7 @@ static int __devinit snd_rme9652_create(struct snd_card *card, | |||
2479 | } | 2479 | } |
2480 | 2480 | ||
2481 | if (request_irq(pci->irq, snd_rme9652_interrupt, IRQF_SHARED, | 2481 | if (request_irq(pci->irq, snd_rme9652_interrupt, IRQF_SHARED, |
2482 | "rme9652", rme9652)) { | 2482 | KBUILD_MODNAME, rme9652)) { |
2483 | snd_printk(KERN_ERR "unable to request IRQ %d\n", pci->irq); | 2483 | snd_printk(KERN_ERR "unable to request IRQ %d\n", pci->irq); |
2484 | return -EBUSY; | 2484 | return -EBUSY; |
2485 | } | 2485 | } |