summaryrefslogtreecommitdiff
path: root/sound/pci/cs4281.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-10 16:20:20 +0200
committerTakashi Iwai <tiwai@suse.de>2011-06-10 16:20:20 +0200
commit3733e424c4fcd8edff2090f0628f4fd245daddb5 (patch)
tree537f31c8797a8b537a19d0ecab1d79209b4be8dd /sound/pci/cs4281.c
parent59c5f46fbe01a00eedf54a23789634438bb80603 (diff)
downloadlwn-3733e424c4fcd8edff2090f0628f4fd245daddb5.tar.gz
lwn-3733e424c4fcd8edff2090f0628f4fd245daddb5.zip
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>
Diffstat (limited to 'sound/pci/cs4281.c')
-rw-r--r--sound/pci/cs4281.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c
index 6772070ed492..67052d9069cf 100644
--- a/sound/pci/cs4281.c
+++ b/sound/pci/cs4281.c
@@ -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),