PCI: xgene: Drop owner assignment from platform_driver
platform_driver_register() automatically supplies THIS_MODULE, so we don't need to set it in the platform_driver struct. Remove the xgene_msi_driver.owner assignment. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
bc0195aad0
commit
4ef299d7dd
1 changed files with 0 additions and 1 deletions
|
@ -582,7 +582,6 @@ error:
|
||||||
static struct platform_driver xgene_msi_driver = {
|
static struct platform_driver xgene_msi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "xgene-msi",
|
.name = "xgene-msi",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = xgene_msi_match_table,
|
.of_match_table = xgene_msi_match_table,
|
||||||
},
|
},
|
||||||
.probe = xgene_msi_probe,
|
.probe = xgene_msi_probe,
|
||||||
|
|
Loading…
Add table
Reference in a new issue