PCI: xgene: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:38:26 +0000 (15:38 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Jul 2015 22:56:45 +0000 (17:56 -0500)
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>
drivers/pci/host/pci-xgene-msi.c

index 2d31d4d6fd08dffa41adad3f887b1b130585ff63..9e1889e6aec776400c323db4cd7b167316abe696 100644 (file)
@@ -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,