mips: pci: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +0000 (16:20 +0200)
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>
arch/mips/pci/pci-alchemy.c
arch/mips/pci/pci-ar71xx.c
arch/mips/pci/pci-ar724x.c
arch/mips/pci/pci-lantiq.c
arch/mips/pci/pci-rt3883.c

index c19600a03460866e43053d0248593baacaa66456..28952637a862b3a94fd45040f4a692c322c1730b 100644 (file)
@@ -505,7 +505,6 @@ static struct platform_driver alchemy_pcictl_driver = {
        .probe          = alchemy_pci_probe,
        .driver = {
                .name   = "alchemy-pci",
-               .owner  = THIS_MODULE,
        },
 };
 
index d471a26dd5f891664fbed0bcc6d330f73027cffd..2882f6a0f9199439c19e217ebe6b62fb7e4bc1a9 100644 (file)
@@ -416,7 +416,6 @@ static struct platform_driver ar71xx_pci_driver = {
        .probe = ar71xx_pci_probe,
        .driver = {
                .name = "ar71xx-pci",
-               .owner = THIS_MODULE,
        },
 };
 
index 785b2659b519bce10085ee6bd42831937c616d4b..204c8525c4bb130bf8f8ee39adddf6d295d11ca7 100644 (file)
@@ -423,7 +423,6 @@ static struct platform_driver ar724x_pci_driver = {
        .probe = ar724x_pci_probe,
        .driver = {
                .name = "ar724x-pci",
-               .owner = THIS_MODULE,
        },
 };
 
index 37fe8e7887e22ea417fc49ecf2eb96a324e425a8..ca94c008c75408797381fc638d0cb5b2ce9efc28 100644 (file)
@@ -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,
        },
 };
index 72919aeef42b314d90c9ec451b149a508a4866a1..b0ba9a9e74d638fd8653a06b94ecda67a9440b6e 100644 (file)
@@ -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),
        },
 };