Commit 6f48e14c authored by Deepak Saxena's avatar Deepak Saxena Committed by Greg Kroah-Hartman

[PATCH] Remove spaces from PCI I2C pci_driver.name fields

Same thing as IDE...spaces in PCI driver names show up in sysfs file
names.  I've also cleaned up all the .name fields to be in the format
(${NAME}_i2c|${NAME}_smbus) so they are consistent.
Signed-off-by: default avatarDeepak Saxena <dsaxena@plexity.net>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent e25f41c4
...@@ -395,7 +395,7 @@ static struct pci_device_id __devinitdata ali1563_id_table[] = { ...@@ -395,7 +395,7 @@ static struct pci_device_id __devinitdata ali1563_id_table[] = {
}; };
static struct pci_driver ali1563_pci_driver = { static struct pci_driver ali1563_pci_driver = {
.name = "i2c-ali1563", .name = "ali1563_i2c",
.id_table = ali1563_id_table, .id_table = ali1563_id_table,
.probe = ali1563_probe, .probe = ali1563_probe,
.remove = ali1563_remove, .remove = ali1563_remove,
......
...@@ -509,7 +509,7 @@ static void __devexit ali15x3_remove(struct pci_dev *dev) ...@@ -509,7 +509,7 @@ static void __devexit ali15x3_remove(struct pci_dev *dev)
} }
static struct pci_driver ali15x3_driver = { static struct pci_driver ali15x3_driver = {
.name = "ali15x3 smbus", .name = "ali15x3_smbus",
.id_table = ali15x3_ids, .id_table = ali15x3_ids,
.probe = ali15x3_probe, .probe = ali15x3_probe,
.remove = __devexit_p(ali15x3_remove), .remove = __devexit_p(ali15x3_remove),
......
...@@ -394,7 +394,7 @@ static void __devexit amd756_remove(struct pci_dev *dev) ...@@ -394,7 +394,7 @@ static void __devexit amd756_remove(struct pci_dev *dev)
} }
static struct pci_driver amd756_driver = { static struct pci_driver amd756_driver = {
.name = "amd756 smbus", .name = "amd756_smbus",
.id_table = amd756_ids, .id_table = amd756_ids,
.probe = amd756_probe, .probe = amd756_probe,
.remove = __devexit_p(amd756_remove), .remove = __devexit_p(amd756_remove),
......
...@@ -392,7 +392,7 @@ static void __devexit amd8111_remove(struct pci_dev *dev) ...@@ -392,7 +392,7 @@ static void __devexit amd8111_remove(struct pci_dev *dev)
} }
static struct pci_driver amd8111_driver = { static struct pci_driver amd8111_driver = {
.name = "amd8111 smbus 2", .name = "amd8111_smbus2",
.id_table = amd8111_ids, .id_table = amd8111_ids,
.probe = amd8111_probe, .probe = amd8111_probe,
.remove = __devexit_p(amd8111_remove), .remove = __devexit_p(amd8111_remove),
......
...@@ -158,7 +158,7 @@ static void __devexit hydra_remove(struct pci_dev *dev) ...@@ -158,7 +158,7 @@ static void __devexit hydra_remove(struct pci_dev *dev)
static struct pci_driver hydra_driver = { static struct pci_driver hydra_driver = {
.name = "hydra smbus", .name = "hydra_smbus",
.id_table = hydra_ids, .id_table = hydra_ids,
.probe = hydra_probe, .probe = hydra_probe,
.remove = __devexit_p(hydra_remove), .remove = __devexit_p(hydra_remove),
......
...@@ -623,7 +623,7 @@ static void __devexit i801_remove(struct pci_dev *dev) ...@@ -623,7 +623,7 @@ static void __devexit i801_remove(struct pci_dev *dev)
} }
static struct pci_driver i801_driver = { static struct pci_driver i801_driver = {
.name = "i801 smbus", .name = "i801_smbus",
.id_table = i801_ids, .id_table = i801_ids,
.probe = i801_probe, .probe = i801_probe,
.remove = __devexit_p(i801_remove), .remove = __devexit_p(i801_remove),
......
...@@ -231,7 +231,7 @@ static void __devexit i810_remove(struct pci_dev *dev) ...@@ -231,7 +231,7 @@ static void __devexit i810_remove(struct pci_dev *dev)
} }
static struct pci_driver i810_driver = { static struct pci_driver i810_driver = {
.name = "i810 smbus", .name = "i810_smbus",
.id_table = i810_ids, .id_table = i810_ids,
.probe = i810_probe, .probe = i810_probe,
.remove = __devexit_p(i810_remove), .remove = __devexit_p(i810_remove),
......
...@@ -383,7 +383,7 @@ static void __devexit nforce2_remove(struct pci_dev *dev) ...@@ -383,7 +383,7 @@ static void __devexit nforce2_remove(struct pci_dev *dev)
} }
static struct pci_driver nforce2_driver = { static struct pci_driver nforce2_driver = {
.name = "nForce2 SMBus", .name = "nForce2_smbus",
.id_table = nforce2_ids, .id_table = nforce2_ids,
.probe = nforce2_probe, .probe = nforce2_probe,
.remove = __devexit_p(nforce2_remove), .remove = __devexit_p(nforce2_remove),
......
...@@ -493,7 +493,7 @@ static void __devexit piix4_remove(struct pci_dev *dev) ...@@ -493,7 +493,7 @@ static void __devexit piix4_remove(struct pci_dev *dev)
} }
static struct pci_driver piix4_driver = { static struct pci_driver piix4_driver = {
.name = "piix4-smbus", .name = "piix4_smbus",
.id_table = piix4_ids, .id_table = piix4_ids,
.probe = piix4_probe, .probe = piix4_probe,
.remove = __devexit_p(piix4_remove), .remove = __devexit_p(piix4_remove),
......
...@@ -314,7 +314,7 @@ static struct pci_device_id prosavage_pci_tbl[] = { ...@@ -314,7 +314,7 @@ static struct pci_device_id prosavage_pci_tbl[] = {
}; };
static struct pci_driver prosavage_driver = { static struct pci_driver prosavage_driver = {
.name = "prosavage-smbus", .name = "prosavage_smbus",
.id_table = prosavage_pci_tbl, .id_table = prosavage_pci_tbl,
.probe = prosavage_probe, .probe = prosavage_probe,
.remove = prosavage_remove, .remove = prosavage_remove,
......
...@@ -178,7 +178,7 @@ static void __devexit savage4_remove(struct pci_dev *dev) ...@@ -178,7 +178,7 @@ static void __devexit savage4_remove(struct pci_dev *dev)
} }
static struct pci_driver savage4_driver = { static struct pci_driver savage4_driver = {
.name = "savage4 smbus", .name = "savage4_smbus",
.id_table = savage4_ids, .id_table = savage4_ids,
.probe = savage4_probe, .probe = savage4_probe,
.remove = __devexit_p(savage4_remove), .remove = __devexit_p(savage4_remove),
......
...@@ -393,7 +393,7 @@ static void __devexit sis5595_remove(struct pci_dev *dev) ...@@ -393,7 +393,7 @@ static void __devexit sis5595_remove(struct pci_dev *dev)
} }
static struct pci_driver sis5595_driver = { static struct pci_driver sis5595_driver = {
.name = "sis5595 smbus", .name = "sis5595_smbus",
.id_table = sis5595_ids, .id_table = sis5595_ids,
.probe = sis5595_probe, .probe = sis5595_probe,
.remove = __devexit_p(sis5595_remove), .remove = __devexit_p(sis5595_remove),
......
...@@ -495,7 +495,7 @@ static void __devexit sis630_remove(struct pci_dev *dev) ...@@ -495,7 +495,7 @@ static void __devexit sis630_remove(struct pci_dev *dev)
static struct pci_driver sis630_driver = { static struct pci_driver sis630_driver = {
.name = "sis630 smbus", .name = "sis630_smbus",
.id_table = sis630_ids, .id_table = sis630_ids,
.probe = sis630_probe, .probe = sis630_probe,
.remove = __devexit_p(sis630_remove), .remove = __devexit_p(sis630_remove),
......
...@@ -339,7 +339,7 @@ static void __devexit sis96x_remove(struct pci_dev *dev) ...@@ -339,7 +339,7 @@ static void __devexit sis96x_remove(struct pci_dev *dev)
} }
static struct pci_driver sis96x_driver = { static struct pci_driver sis96x_driver = {
.name = "sis96x smbus", .name = "sis96x_smbus",
.id_table = sis96x_ids, .id_table = sis96x_ids,
.probe = sis96x_probe, .probe = sis96x_probe,
.remove = __devexit_p(sis96x_remove), .remove = __devexit_p(sis96x_remove),
......
...@@ -158,7 +158,7 @@ static void __devexit vt586b_remove(struct pci_dev *dev) ...@@ -158,7 +158,7 @@ static void __devexit vt586b_remove(struct pci_dev *dev)
static struct pci_driver vt586b_driver = { static struct pci_driver vt586b_driver = {
.name = "vt586b smbus", .name = "vt586b_smbus",
.id_table = vt586b_ids, .id_table = vt586b_ids,
.probe = vt586b_probe, .probe = vt586b_probe,
.remove = __devexit_p(vt586b_remove), .remove = __devexit_p(vt586b_remove),
......
...@@ -455,7 +455,7 @@ static struct pci_device_id vt596_ids[] = { ...@@ -455,7 +455,7 @@ static struct pci_device_id vt596_ids[] = {
}; };
static struct pci_driver vt596_driver = { static struct pci_driver vt596_driver = {
.name = "vt596 smbus", .name = "vt596_smbus",
.id_table = vt596_ids, .id_table = vt596_ids,
.probe = vt596_probe, .probe = vt596_probe,
.remove = __devexit_p(vt596_remove), .remove = __devexit_p(vt596_remove),
......
...@@ -224,7 +224,7 @@ static void __devexit voodoo3_remove(struct pci_dev *dev) ...@@ -224,7 +224,7 @@ static void __devexit voodoo3_remove(struct pci_dev *dev)
} }
static struct pci_driver voodoo3_driver = { static struct pci_driver voodoo3_driver = {
.name = "voodoo3 smbus", .name = "voodoo3_smbus",
.id_table = voodoo3_ids, .id_table = voodoo3_ids,
.probe = voodoo3_probe, .probe = voodoo3_probe,
.remove = __devexit_p(voodoo3_remove), .remove = __devexit_p(voodoo3_remove),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment