]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
pci: host: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:20 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:20 +0000 (16:21 +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>
12 files changed:
drivers/pci/host/pci-dra7xx.c
drivers/pci/host/pci-exynos.c
drivers/pci/host/pci-host-generic.c
drivers/pci/host/pci-imx6.c
drivers/pci/host/pci-keystone.c
drivers/pci/host/pci-mvebu.c
drivers/pci/host/pci-rcar-gen2.c
drivers/pci/host/pci-tegra.c
drivers/pci/host/pci-xgene.c
drivers/pci/host/pcie-rcar.c
drivers/pci/host/pcie-spear13xx.c
drivers/pci/host/pcie-xilinx.c

index 52b34fee07fda7ef0fb59a5895d7224d4946c272..b7da6cf78070b761da4cc9424d476fedbd0bde59 100644 (file)
@@ -446,7 +446,6 @@ static struct platform_driver dra7xx_pcie_driver = {
        .remove         = __exit_p(dra7xx_pcie_remove),
        .driver = {
                .name   = "dra7-pcie",
-               .owner  = THIS_MODULE,
                .of_match_table = of_dra7xx_pcie_match,
        },
 };
index c5d0ca3845028d65e1476ea2e279a70beb6a7049..a95b20dbc3aa6a47bd4096786e693dfd30f36f5f 100644 (file)
@@ -649,7 +649,6 @@ static struct platform_driver exynos_pcie_driver = {
        .remove         = __exit_p(exynos_pcie_remove),
        .driver = {
                .name   = "exynos-pcie",
-               .owner  = THIS_MODULE,
                .of_match_table = exynos_pcie_of_match,
        },
 };
index 3d2076f599118c5141d517c8513f1bba1f31fbe2..f0577bd9483a4448fe521bc31034af50340b95c7 100644 (file)
@@ -376,7 +376,6 @@ static int gen_pci_probe(struct platform_device *pdev)
 static struct platform_driver gen_pci_driver = {
        .driver = {
                .name = "pci-host-generic",
-               .owner = THIS_MODULE,
                .of_match_table = gen_pci_of_match,
        },
        .probe = gen_pci_probe,
index 233fe8a882649dfc4197b8ac58ff1dd0bdaed6e9..8855fef88e52ce8255529f63485f6e23198f5419 100644 (file)
@@ -636,7 +636,6 @@ MODULE_DEVICE_TABLE(of, imx6_pcie_of_match);
 static struct platform_driver imx6_pcie_driver = {
        .driver = {
                .name   = "imx6q-pcie",
-               .owner  = THIS_MODULE,
                .of_match_table = imx6_pcie_of_match,
        },
        .shutdown = imx6_pcie_shutdown,
index 1b893bc8b84222591cd81cdbfd6683326a11cd7d..8a2707885735b7c34721d757baba47e55549ca7b 100644 (file)
@@ -403,7 +403,6 @@ static struct platform_driver ks_pcie_driver __refdata = {
        .remove = __exit_p(ks_pcie_remove),
        .driver = {
                .name   = "keystone-pcie",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(ks_pcie_of_match),
        },
 };
index b1315e197ffba3701fee63a68828895174152b8e..753cbf0f5b5e55145861d66d4ae20a03bc66df26 100644 (file)
@@ -1082,7 +1082,6 @@ MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
 
 static struct platform_driver mvebu_pcie_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "mvebu-pcie",
                .of_match_table = mvebu_pcie_of_match_table,
                /* driver unloading/unbinding currently not supported */
index 3ef854f5a5b5d3cc9cd40435e82df54859085d33..d9c042febb1a73fe049283c2ce89ac50b76edfe7 100644 (file)
@@ -412,7 +412,6 @@ MODULE_DEVICE_TABLE(of, rcar_pci_of_match);
 static struct platform_driver rcar_pci_driver = {
        .driver = {
                .name = "pci-rcar-gen2",
-               .owner = THIS_MODULE,
                .suppress_bind_attrs = true,
                .of_match_table = rcar_pci_of_match,
        },
index 3d43874319bebb13999889522f8d85e61b7251a2..393cdb03ae5988aca61c5fb54e375cb02bebb252 100644 (file)
@@ -2122,7 +2122,6 @@ put_resources:
 static struct platform_driver tegra_pcie_driver = {
        .driver = {
                .name = "tegra-pcie",
-               .owner = THIS_MODULE,
                .of_match_table = tegra_pcie_of_match,
                .suppress_bind_attrs = true,
        },
index 9ecabfa8c6343a83afba9d33b101bc4161b6bd3f..2439fe57d70c46b36f739a2263df232c5ed376f4 100644 (file)
@@ -647,7 +647,6 @@ static const struct of_device_id xgene_pcie_match_table[] = {
 static struct platform_driver xgene_pcie_driver = {
        .driver = {
                   .name = "xgene-pcie",
-                  .owner = THIS_MODULE,
                   .of_match_table = of_match_ptr(xgene_pcie_match_table),
        },
        .probe = xgene_pcie_probe_bridge,
index 61158e03ab5f8437e2f28d9564a2f70b5cd78961..9b356c32b1929bf86a357b5e0840da01cb656010 100644 (file)
@@ -988,7 +988,6 @@ static int rcar_pcie_probe(struct platform_device *pdev)
 static struct platform_driver rcar_pcie_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = rcar_pcie_of_match,
                .suppress_bind_attrs = true,
        },
index 85f594e1708fbc9191864273cc7f093217f7e463..6826e00313811471bcde2475a93704e4d061fc36 100644 (file)
@@ -375,7 +375,6 @@ static struct platform_driver spear13xx_pcie_driver __initdata = {
        .probe          = spear13xx_pcie_probe,
        .driver = {
                .name   = "spear-pcie",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(spear13xx_pcie_of_match),
        },
 };
index ccc496b33a9747f5e42a6172ecf1cf1088173dd5..56979ac36be2a55f5e0b775ad278e8dcc4f93be5 100644 (file)
@@ -956,7 +956,6 @@ static struct of_device_id xilinx_pcie_of_match[] = {
 static struct platform_driver xilinx_pcie_driver = {
        .driver = {
                .name = "xilinx-pcie",
-               .owner = THIS_MODULE,
                .of_match_table = xilinx_pcie_of_match,
                .suppress_bind_attrs = true,
        },