diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-06-10 16:20:20 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-10 16:20:20 +0200 |
commit | 3733e424c4fcd8edff2090f0628f4fd245daddb5 (patch) | |
tree | 537f31c8797a8b537a19d0ecab1d79209b4be8dd /sound/pci/aw2 | |
parent | 59c5f46fbe01a00eedf54a23789634438bb80603 (diff) | |
download | lwn-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/aw2')
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index c15002242d98..8410edb5fbaf 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c @@ -171,7 +171,7 @@ MODULE_DEVICE_TABLE(pci, snd_aw2_ids); /* pci_driver definition */ static struct pci_driver driver = { - .name = "Emagic Audiowerk 2", + .name = KBUILD_MODNAME, .id_table = snd_aw2_ids, .probe = snd_aw2_probe, .remove = __devexit_p(snd_aw2_remove), |