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>
This commit is contained in:
@@ -760,7 +760,7 @@ static int __devinit snd_bt87x_create(struct snd_card *card,
|
||||
snd_bt87x_writel(chip, REG_INT_STAT, MY_INTERRUPTS);
|
||||
|
||||
err = request_irq(pci->irq, snd_bt87x_interrupt, IRQF_SHARED,
|
||||
"Bt87x audio", chip);
|
||||
KBUILD_MODNAME, chip);
|
||||
if (err < 0) {
|
||||
snd_printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
|
||||
goto fail;
|
||||
|
Reference in New Issue
Block a user