ALSA: Use KBUILD_MODNAME for pci_driver.name entries
The convention for pci_driver.name entry in kernel drivers seem to be the module name or equivalent ones. But, so far, almost all PCI sound drivers use more verbose name like "ABC Xyz (12)", and these are fairly confusing when appearing as a file name. This patch converts the all pci_driver.name entries in sound/pci/* to use KBUILD_MODNAME for more unified appearance. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -2085,7 +2085,7 @@ static int cs4281_resume(struct pci_dev *pci)
|
||||
#endif /* CONFIG_PM */
|
||||
|
||||
static struct pci_driver driver = {
|
||||
.name = "CS4281",
|
||||
.name = KBUILD_MODNAME,
|
||||
.id_table = snd_cs4281_ids,
|
||||
.probe = snd_cs4281_probe,
|
||||
.remove = __devexit_p(snd_cs4281_remove),
|
||||
|
Reference in New Issue
Block a user