summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pci-xgene-msi.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 15:38:26 +0900
committerBjorn Helgaas <bhelgaas@google.com>2015-07-14 17:56:45 -0500
commit4ef299d7dd51f4081618446a420f500e7f7e5d1b (patch)
tree66c470cd2c42c67c3603851a1e54b2cb52bee678 /drivers/pci/host/pci-xgene-msi.c
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
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>
Diffstat (limited to 'drivers/pci/host/pci-xgene-msi.c')
-rw-r--r--drivers/pci/host/pci-xgene-msi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-xgene-msi.c b/drivers/pci/host/pci-xgene-msi.c
index 2d31d4d6fd08..9e1889e6aec7 100644
--- a/drivers/pci/host/pci-xgene-msi.c
+++ b/drivers/pci/host/pci-xgene-msi.c
@@ -582,7 +582,6 @@ error:
static struct platform_driver xgene_msi_driver = {
.driver = {
.name = "xgene-msi",
- .owner = THIS_MODULE,
.of_match_table = xgene_msi_match_table,
},
.probe = xgene_msi_probe,