mips: pci: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
b9acbf99f1
commit
ec4848815c
@ -505,7 +505,6 @@ static struct platform_driver alchemy_pcictl_driver = {
|
||||
.probe = alchemy_pci_probe,
|
||||
.driver = {
|
||||
.name = "alchemy-pci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -416,7 +416,6 @@ static struct platform_driver ar71xx_pci_driver = {
|
||||
.probe = ar71xx_pci_probe,
|
||||
.driver = {
|
||||
.name = "ar71xx-pci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -423,7 +423,6 @@ static struct platform_driver ar724x_pci_driver = {
|
||||
.probe = ar724x_pci_probe,
|
||||
.driver = {
|
||||
.name = "ar724x-pci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -247,7 +247,6 @@ static struct platform_driver ltq_pci_driver = {
|
||||
.probe = ltq_pci_probe,
|
||||
.driver = {
|
||||
.name = "pci-xway",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = ltq_pci_match,
|
||||
},
|
||||
};
|
||||
|
@ -598,7 +598,6 @@ static struct platform_driver rt3883_pci_driver = {
|
||||
.probe = rt3883_pci_probe,
|
||||
.driver = {
|
||||
.name = "rt3883-pci",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(rt3883_pci_ids),
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user