Skip to content

Commit 3733e42

Browse files
committed
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>
1 parent 59c5f46 commit 3733e42

52 files changed

Lines changed: 53 additions & 53 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎sound/pci/ad1889.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_ad1889_ids) = {
10551055
MODULE_DEVICE_TABLE(pci, snd_ad1889_ids);
10561056

10571057
static struct pci_driver ad1889_pci_driver = {
1058-
.name = "AD1889 Audio",
1058+
.name = KBUILD_MODNAME,
10591059
.id_table = snd_ad1889_ids,
10601060
.probe = snd_ad1889_probe,
10611061
.remove = __devexit_p(snd_ad1889_remove),

‎sound/pci/ali5451/ali5451.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,7 @@ static void __devexit snd_ali_remove(struct pci_dev *pci)
22952295
}
22962296

22972297
static struct pci_driver driver = {
2298-
.name = "ALI 5451",
2298+
.name = KBUILD_MODNAME,
22992299
.id_table = snd_ali_ids,
23002300
.probe = snd_ali_probe,
23012301
.remove = __devexit_p(snd_ali_remove),

‎sound/pci/als300.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ static int __devinit snd_als300_probe(struct pci_dev *pci,
846846
}
847847

848848
static struct pci_driver driver = {
849-
.name = "ALS300",
849+
.name = KBUILD_MODNAME,
850850
.id_table = snd_als300_ids,
851851
.probe = snd_als300_probe,
852852
.remove = __devexit_p(snd_als300_remove),

‎sound/pci/als4000.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ static int snd_als4000_resume(struct pci_dev *pci)
10361036

10371037

10381038
static struct pci_driver driver = {
1039-
.name = "ALS4000",
1039+
.name = KBUILD_MODNAME,
10401040
.id_table = snd_als4000_ids,
10411041
.probe = snd_card_als4000_probe,
10421042
.remove = __devexit_p(snd_card_als4000_remove),

‎sound/pci/asihpi/asihpi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2924,7 +2924,7 @@ static DEFINE_PCI_DEVICE_TABLE(asihpi_pci_tbl) = {
29242924
MODULE_DEVICE_TABLE(pci, asihpi_pci_tbl);
29252925

29262926
static struct pci_driver driver = {
2927-
.name = "asihpi",
2927+
.name = KBUILD_MODNAME,
29282928
.id_table = asihpi_pci_tbl,
29292929
.probe = snd_asihpi_probe,
29302930
.remove = __devexit_p(snd_asihpi_remove),

‎sound/pci/atiixp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
17011701
}
17021702

17031703
static struct pci_driver driver = {
1704-
.name = "ATI IXP AC97 controller",
1704+
.name = KBUILD_MODNAME,
17051705
.id_table = snd_atiixp_ids,
17061706
.probe = snd_atiixp_probe,
17071707
.remove = __devexit_p(snd_atiixp_remove),

‎sound/pci/atiixp_modem.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)
13321332
}
13331333

13341334
static struct pci_driver driver = {
1335-
.name = "ATI IXP MC97 controller",
1335+
.name = KBUILD_MODNAME,
13361336
.id_table = snd_atiixp_ids,
13371337
.probe = snd_atiixp_probe,
13381338
.remove = __devexit_p(snd_atiixp_remove),

‎sound/pci/au88x0/au88x0.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static void __devexit snd_vortex_remove(struct pci_dev *pci)
375375

376376
// pci_driver definition
377377
static struct pci_driver driver = {
378-
.name = CARD_NAME_SHORT,
378+
.name = KBUILD_MODNAME,
379379
.id_table = snd_vortex_ids,
380380
.probe = snd_vortex_probe,
381381
.remove = __devexit_p(snd_vortex_remove),

‎sound/pci/aw2/aw2-alsa.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ MODULE_DEVICE_TABLE(pci, snd_aw2_ids);
171171

172172
/* pci_driver definition */
173173
static struct pci_driver driver = {
174-
.name = "Emagic Audiowerk 2",
174+
.name = KBUILD_MODNAME,
175175
.id_table = snd_aw2_ids,
176176
.probe = snd_aw2_probe,
177177
.remove = __devexit_p(snd_aw2_remove),

‎sound/pci/azt3328.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2860,7 +2860,7 @@ snd_azf3328_resume(struct pci_dev *pci)
28602860

28612861

28622862
static struct pci_driver driver = {
2863-
.name = "AZF3328",
2863+
.name = KBUILD_MODNAME,
28642864
.id_table = snd_azf3328_ids,
28652865
.probe = snd_azf3328_probe,
28662866
.remove = __devexit_p(snd_azf3328_remove),

0 commit comments

Comments
 (0)