Skip to content

Commit

Permalink
[PATCH] PCI: removed unneeded .owner field from struct pci_driver
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Nov 11, 2005
1 parent 863b18f commit 249bb07
Show file tree
Hide file tree
Showing 81 changed files with 0 additions and 81 deletions.
1 change: 0 additions & 1 deletion drivers/char/agp/ali-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ static struct pci_device_id agp_ali_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_ali_pci_table);

static struct pci_driver agp_ali_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-ali",
.id_table = agp_ali_pci_table,
.probe = agp_ali_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/amd-k7-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ static struct pci_device_id agp_amdk7_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_amdk7_pci_table);

static struct pci_driver agp_amdk7_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-amdk7",
.id_table = agp_amdk7_pci_table,
.probe = agp_amdk7_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/amd64-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ static struct pci_device_id agp_amd64_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table);

static struct pci_driver agp_amd64_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-amd64",
.id_table = agp_amd64_pci_table,
.probe = agp_amd64_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/ati-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ static struct pci_device_id agp_ati_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_ati_pci_table);

static struct pci_driver agp_ati_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-ati",
.id_table = agp_ati_pci_table,
.probe = agp_ati_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/efficeon-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ static struct pci_device_id agp_efficeon_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_efficeon_pci_table);

static struct pci_driver agp_efficeon_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-efficeon",
.id_table = agp_efficeon_pci_table,
.probe = agp_efficeon_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/i460-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ static struct pci_device_id agp_intel_i460_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_intel_i460_pci_table);

static struct pci_driver agp_intel_i460_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-intel-i460",
.id_table = agp_intel_i460_pci_table,
.probe = agp_intel_i460_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/intel-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,6 @@ static struct pci_device_id agp_intel_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);

static struct pci_driver agp_intel_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-intel",
.id_table = agp_intel_pci_table,
.probe = agp_intel_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/nvidia-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ static struct pci_device_id agp_nvidia_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_nvidia_pci_table);

static struct pci_driver agp_nvidia_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-nvidia",
.id_table = agp_nvidia_pci_table,
.probe = agp_nvidia_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/sis-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ static struct pci_device_id agp_sis_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_sis_pci_table);

static struct pci_driver agp_sis_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-sis",
.id_table = agp_sis_pci_table,
.probe = agp_sis_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/sworks-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ static struct pci_device_id agp_serverworks_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_serverworks_pci_table);

static struct pci_driver agp_serverworks_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-serverworks",
.id_table = agp_serverworks_pci_table,
.probe = agp_serverworks_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/uninorth-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ static struct pci_device_id agp_uninorth_pci_table[] = {
MODULE_DEVICE_TABLE(pci, agp_uninorth_pci_table);

static struct pci_driver agp_uninorth_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-uninorth",
.id_table = agp_uninorth_pci_table,
.probe = agp_uninorth_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/agp/via-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ MODULE_DEVICE_TABLE(pci, agp_via_pci_table);


static struct pci_driver agp_via_pci_driver = {
.owner = THIS_MODULE,
.name = "agpgart-via",
.id_table = agp_via_pci_table,
.probe = agp_via_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -3113,7 +3113,6 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl);
int __init init_PCI (void)
{ /* Begin init_PCI */
memset (&epca_driver, 0, sizeof (epca_driver));
epca_driver.owner = THIS_MODULE;
epca_driver.name = "epca";
epca_driver.id_table = epca_pci_tbl;
epca_driver.probe = epca_init_one;
Expand Down
1 change: 0 additions & 1 deletion drivers/char/synclink.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ MODULE_DEVICE_TABLE(pci, synclink_pci_tbl);
MODULE_LICENSE("GPL");

static struct pci_driver synclink_pci_driver = {
.owner = THIS_MODULE,
.name = "synclink",
.id_table = synclink_pci_tbl,
.probe = synclink_init_one,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/synclinkmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl);
MODULE_LICENSE("GPL");

static struct pci_driver synclinkmp_pci_driver = {
.owner = THIS_MODULE,
.name = "synclinkmp",
.id_table = synclinkmp_pci_tbl,
.probe = synclinkmp_init_one,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/watchdog/pcwd_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ static struct pci_device_id pcipcwd_pci_tbl[] = {
MODULE_DEVICE_TABLE(pci, pcipcwd_pci_tbl);

static struct pci_driver pcipcwd_driver = {
.owner = THIS_MODULE,
.name = WATCHDOG_NAME,
.id_table = pcipcwd_pci_tbl,
.probe = pcipcwd_card_init,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/watchdog/wdt_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,6 @@ MODULE_DEVICE_TABLE(pci, wdtpci_pci_tbl);


static struct pci_driver wdtpci_driver = {
.owner = THIS_MODULE,
.name = "wdt_pci",
.id_table = wdtpci_pci_tbl,
.probe = wdtpci_init_one,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-ali1535.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ static void __devexit ali1535_remove(struct pci_dev *dev)
}

static struct pci_driver ali1535_driver = {
.owner = THIS_MODULE,
.name = "ali1535_smbus",
.id_table = ali1535_ids,
.probe = ali1535_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-ali1563.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ static struct pci_device_id __devinitdata ali1563_id_table[] = {
MODULE_DEVICE_TABLE (pci, ali1563_id_table);

static struct pci_driver ali1563_pci_driver = {
.owner = THIS_MODULE,
.name = "ali1563_smbus",
.id_table = ali1563_id_table,
.probe = ali1563_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-ali15x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ static void __devexit ali15x3_remove(struct pci_dev *dev)
}

static struct pci_driver ali15x3_driver = {
.owner = THIS_MODULE,
.name = "ali15x3_smbus",
.id_table = ali15x3_ids,
.probe = ali15x3_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-amd756.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ static void __devexit amd756_remove(struct pci_dev *dev)
}

static struct pci_driver amd756_driver = {
.owner = THIS_MODULE,
.name = "amd756_smbus",
.id_table = amd756_ids,
.probe = amd756_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-amd8111.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ static void __devexit amd8111_remove(struct pci_dev *dev)
}

static struct pci_driver amd8111_driver = {
.owner = THIS_MODULE,
.name = "amd8111_smbus2",
.id_table = amd8111_ids,
.probe = amd8111_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-hydra.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ static void __devexit hydra_remove(struct pci_dev *dev)


static struct pci_driver hydra_driver = {
.owner = THIS_MODULE,
.name = "hydra_smbus",
.id_table = hydra_ids,
.probe = hydra_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-i801.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,6 @@ static void __devexit i801_remove(struct pci_dev *dev)
}

static struct pci_driver i801_driver = {
.owner = THIS_MODULE,
.name = "i801_smbus",
.id_table = i801_ids,
.probe = i801_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-i810.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static void __devexit i810_remove(struct pci_dev *dev)
}

static struct pci_driver i810_driver = {
.owner = THIS_MODULE,
.name = "i810_smbus",
.id_table = i810_ids,
.probe = i810_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-nforce2.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ static void __devexit nforce2_remove(struct pci_dev *dev)
}

static struct pci_driver nforce2_driver = {
.owner = THIS_MODULE,
.name = "nForce2_smbus",
.id_table = nforce2_ids,
.probe = nforce2_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-piix4.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ static void __devexit piix4_remove(struct pci_dev *dev)
}

static struct pci_driver piix4_driver = {
.owner = THIS_MODULE,
.name = "piix4_smbus",
.id_table = piix4_ids,
.probe = piix4_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-prosavage.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ static struct pci_device_id prosavage_pci_tbl[] = {
MODULE_DEVICE_TABLE (pci, prosavage_pci_tbl);

static struct pci_driver prosavage_driver = {
.owner = THIS_MODULE,
.name = "prosavage_smbus",
.id_table = prosavage_pci_tbl,
.probe = prosavage_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-savage4.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ static void __devexit savage4_remove(struct pci_dev *dev)
}

static struct pci_driver savage4_driver = {
.owner = THIS_MODULE,
.name = "savage4_smbus",
.id_table = savage4_ids,
.probe = savage4_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-sis5595.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ static void __devexit sis5595_remove(struct pci_dev *dev)
}

static struct pci_driver sis5595_driver = {
.owner = THIS_MODULE,
.name = "sis5595_smbus",
.id_table = sis5595_ids,
.probe = sis5595_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-sis630.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ static void __devexit sis630_remove(struct pci_dev *dev)


static struct pci_driver sis630_driver = {
.owner = THIS_MODULE,
.name = "sis630_smbus",
.id_table = sis630_ids,
.probe = sis630_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-sis96x.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ static void __devexit sis96x_remove(struct pci_dev *dev)
}

static struct pci_driver sis96x_driver = {
.owner = THIS_MODULE,
.name = "sis96x_smbus",
.id_table = sis96x_ids,
.probe = sis96x_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-via.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ static void __devexit vt586b_remove(struct pci_dev *dev)


static struct pci_driver vt586b_driver = {
.owner = THIS_MODULE,
.name = "vt586b_smbus",
.id_table = vt586b_ids,
.probe = vt586b_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-viapro.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ static struct pci_device_id vt596_ids[] = {
MODULE_DEVICE_TABLE(pci, vt596_ids);

static struct pci_driver vt596_driver = {
.owner = THIS_MODULE,
.name = "vt596_smbus",
.id_table = vt596_ids,
.probe = vt596_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-voodoo3.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ static void __devexit voodoo3_remove(struct pci_dev *dev)
}

static struct pci_driver voodoo3_driver = {
.owner = THIS_MODULE,
.name = "voodoo3_smbus",
.id_table = voodoo3_ids,
.probe = voodoo3_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/infiniband/hw/mthca/mthca_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,6 @@ MODULE_DEVICE_TABLE(pci, mthca_pci_table);

static struct pci_driver mthca_driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.id_table = mthca_pci_table,
.probe = mthca_init_one,
.remove = __devexit_p(mthca_remove_one)
Expand Down
1 change: 0 additions & 1 deletion drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,6 @@ spider_net_remove(struct pci_dev *pdev)
}

static struct pci_driver spider_net_driver = {
.owner = THIS_MODULE,
.name = spider_net_driver_name,
.id_table = spider_net_pci_tbl,
.probe = spider_net_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/gadget/goku_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids);
static struct pci_driver goku_pci_driver = {
.name = (char *) driver_name,
.id_table = pci_ids,
.owner = THIS_MODULE,

.probe = goku_probe,
.remove = goku_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/gadget/net2280.c
Original file line number Diff line number Diff line change
Expand Up @@ -2948,7 +2948,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids);
static struct pci_driver net2280_pci_driver = {
.name = (char *) driver_name,
.id_table = pci_ids,
.owner = THIS_MODULE,

.probe = net2280_probe,
.remove = net2280_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/host/ehci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids);
static struct pci_driver ehci_pci_driver = {
.name = (char *) hcd_name,
.id_table = pci_ids,
.owner = THIS_MODULE,

.probe = usb_hcd_pci_probe,
.remove = usb_hcd_pci_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/host/ohci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE (pci, pci_ids);
static struct pci_driver ohci_pci_driver = {
.name = (char *) hcd_name,
.id_table = pci_ids,
.owner = THIS_MODULE,

.probe = usb_hcd_pci_probe,
.remove = usb_hcd_pci_remove,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/host/uhci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,6 @@ MODULE_DEVICE_TABLE(pci, uhci_pci_ids);
static struct pci_driver uhci_pci_driver = {
.name = (char *)hcd_name,
.id_table = uhci_pci_ids,
.owner = THIS_MODULE,

.probe = usb_hcd_pci_probe,
.remove = usb_hcd_pci_remove,
Expand Down
1 change: 0 additions & 1 deletion include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ struct module;
struct pci_driver {
struct list_head node;
char *name;
struct module *owner;
const struct pci_device_id *id_table; /* must be non-NULL for probe to be called */
int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */
void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */
Expand Down
1 change: 0 additions & 1 deletion sound/pci/ad1889.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@ MODULE_DEVICE_TABLE(pci, snd_ad1889_ids);

static struct pci_driver ad1889_pci = {
.name = "AD1889 Audio",
.owner = THIS_MODULE,
.id_table = snd_ad1889_ids,
.probe = snd_ad1889_probe,
.remove = __devexit_p(snd_ad1889_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/ali5451/ali5451.c
Original file line number Diff line number Diff line change
Expand Up @@ -2403,7 +2403,6 @@ static void __devexit snd_ali_remove(struct pci_dev *pci)

static struct pci_driver driver = {
.name = "ALI 5451",
.owner = THIS_MODULE,
.id_table = snd_ali_ids,
.probe = snd_ali_probe,
.remove = __devexit_p(snd_ali_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/als4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ static void __devexit snd_card_als4000_remove(struct pci_dev *pci)

static struct pci_driver driver = {
.name = "ALS4000",
.owner = THIS_MODULE,
.id_table = snd_als4000_ids,
.probe = snd_card_als4000_probe,
.remove = __devexit_p(snd_card_als4000_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/atiixp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,6 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)

static struct pci_driver driver = {
.name = "ATI IXP AC97 controller",
.owner = THIS_MODULE,
.id_table = snd_atiixp_ids,
.probe = snd_atiixp_probe,
.remove = __devexit_p(snd_atiixp_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/atiixp_modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,6 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)

static struct pci_driver driver = {
.name = "ATI IXP MC97 controller",
.owner = THIS_MODULE,
.id_table = snd_atiixp_ids,
.probe = snd_atiixp_probe,
.remove = __devexit_p(snd_atiixp_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/au88x0/au88x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ static void __devexit snd_vortex_remove(struct pci_dev *pci)
// pci_driver definition
static struct pci_driver driver = {
.name = CARD_NAME_SHORT,
.owner = THIS_MODULE,
.id_table = snd_vortex_ids,
.probe = snd_vortex_probe,
.remove = __devexit_p(snd_vortex_remove),
Expand Down
1 change: 0 additions & 1 deletion sound/pci/azt3328.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,6 @@ snd_azf3328_remove(struct pci_dev *pci)

static struct pci_driver driver = {
.name = "AZF3328",
.owner = THIS_MODULE,
.id_table = snd_azf3328_ids,
.probe = snd_azf3328_probe,
.remove = __devexit_p(snd_azf3328_remove),
Expand Down
Loading

0 comments on commit 249bb07

Please sign in to comment.