aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:20 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:20 -0400
commite27a5130ab647aec2a70b800a690736d5b258007 (patch)
tree801190a255d5d42430ee083fb5f8a7ea76a79988
parent2422f7e4d1138a740f228bd4983815bf3b3254e4 (diff)
pci: host: drop owner assignment from platform_drivers
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>
-rw-r--r--drivers/pci/host/pci-dra7xx.c1
-rw-r--r--drivers/pci/host/pci-exynos.c1
-rw-r--r--drivers/pci/host/pci-host-generic.c1
-rw-r--r--drivers/pci/host/pci-imx6.c1
-rw-r--r--drivers/pci/host/pci-keystone.c1
-rw-r--r--drivers/pci/host/pci-mvebu.c1
-rw-r--r--drivers/pci/host/pci-rcar-gen2.c1
-rw-r--r--drivers/pci/host/pci-tegra.c1
-rw-r--r--drivers/pci/host/pci-xgene.c1
-rw-r--r--drivers/pci/host/pcie-rcar.c1
-rw-r--r--drivers/pci/host/pcie-spear13xx.c1
-rw-r--r--drivers/pci/host/pcie-xilinx.c1
12 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c
index 52b34fee07fd..b7da6cf78070 100644
--- a/drivers/pci/host/pci-dra7xx.c
+++ b/drivers/pci/host/pci-dra7xx.c
@@ -446,7 +446,6 @@ static struct platform_driver dra7xx_pcie_driver = {
446 .remove = __exit_p(dra7xx_pcie_remove), 446 .remove = __exit_p(dra7xx_pcie_remove),
447 .driver = { 447 .driver = {
448 .name = "dra7-pcie", 448 .name = "dra7-pcie",
449 .owner = THIS_MODULE,
450 .of_match_table = of_dra7xx_pcie_match, 449 .of_match_table = of_dra7xx_pcie_match,
451 }, 450 },
452}; 451};
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index c5d0ca384502..a95b20dbc3aa 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -649,7 +649,6 @@ static struct platform_driver exynos_pcie_driver = {
649 .remove = __exit_p(exynos_pcie_remove), 649 .remove = __exit_p(exynos_pcie_remove),
650 .driver = { 650 .driver = {
651 .name = "exynos-pcie", 651 .name = "exynos-pcie",
652 .owner = THIS_MODULE,
653 .of_match_table = exynos_pcie_of_match, 652 .of_match_table = exynos_pcie_of_match,
654 }, 653 },
655}; 654};
diff --git a/drivers/pci/host/pci-host-generic.c b/drivers/pci/host/pci-host-generic.c
index 3d2076f59911..f0577bd9483a 100644
--- a/drivers/pci/host/pci-host-generic.c
+++ b/drivers/pci/host/pci-host-generic.c
@@ -376,7 +376,6 @@ static int gen_pci_probe(struct platform_device *pdev)
376static struct platform_driver gen_pci_driver = { 376static struct platform_driver gen_pci_driver = {
377 .driver = { 377 .driver = {
378 .name = "pci-host-generic", 378 .name = "pci-host-generic",
379 .owner = THIS_MODULE,
380 .of_match_table = gen_pci_of_match, 379 .of_match_table = gen_pci_of_match,
381 }, 380 },
382 .probe = gen_pci_probe, 381 .probe = gen_pci_probe,
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 233fe8a88264..8855fef88e52 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -636,7 +636,6 @@ MODULE_DEVICE_TABLE(of, imx6_pcie_of_match);
636static struct platform_driver imx6_pcie_driver = { 636static struct platform_driver imx6_pcie_driver = {
637 .driver = { 637 .driver = {
638 .name = "imx6q-pcie", 638 .name = "imx6q-pcie",
639 .owner = THIS_MODULE,
640 .of_match_table = imx6_pcie_of_match, 639 .of_match_table = imx6_pcie_of_match,
641 }, 640 },
642 .shutdown = imx6_pcie_shutdown, 641 .shutdown = imx6_pcie_shutdown,
diff --git a/drivers/pci/host/pci-keystone.c b/drivers/pci/host/pci-keystone.c
index 1b893bc8b842..8a2707885735 100644
--- a/drivers/pci/host/pci-keystone.c
+++ b/drivers/pci/host/pci-keystone.c
@@ -403,7 +403,6 @@ static struct platform_driver ks_pcie_driver __refdata = {
403 .remove = __exit_p(ks_pcie_remove), 403 .remove = __exit_p(ks_pcie_remove),
404 .driver = { 404 .driver = {
405 .name = "keystone-pcie", 405 .name = "keystone-pcie",
406 .owner = THIS_MODULE,
407 .of_match_table = of_match_ptr(ks_pcie_of_match), 406 .of_match_table = of_match_ptr(ks_pcie_of_match),
408 }, 407 },
409}; 408};
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
index b1315e197ffb..753cbf0f5b5e 100644
--- a/drivers/pci/host/pci-mvebu.c
+++ b/drivers/pci/host/pci-mvebu.c
@@ -1082,7 +1082,6 @@ MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
1082 1082
1083static struct platform_driver mvebu_pcie_driver = { 1083static struct platform_driver mvebu_pcie_driver = {
1084 .driver = { 1084 .driver = {
1085 .owner = THIS_MODULE,
1086 .name = "mvebu-pcie", 1085 .name = "mvebu-pcie",
1087 .of_match_table = mvebu_pcie_of_match_table, 1086 .of_match_table = mvebu_pcie_of_match_table,
1088 /* driver unloading/unbinding currently not supported */ 1087 /* driver unloading/unbinding currently not supported */
diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c
index 3ef854f5a5b5..d9c042febb1a 100644
--- a/drivers/pci/host/pci-rcar-gen2.c
+++ b/drivers/pci/host/pci-rcar-gen2.c
@@ -412,7 +412,6 @@ MODULE_DEVICE_TABLE(of, rcar_pci_of_match);
412static struct platform_driver rcar_pci_driver = { 412static struct platform_driver rcar_pci_driver = {
413 .driver = { 413 .driver = {
414 .name = "pci-rcar-gen2", 414 .name = "pci-rcar-gen2",
415 .owner = THIS_MODULE,
416 .suppress_bind_attrs = true, 415 .suppress_bind_attrs = true,
417 .of_match_table = rcar_pci_of_match, 416 .of_match_table = rcar_pci_of_match,
418 }, 417 },
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
index 3d43874319be..393cdb03ae59 100644
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@ -2122,7 +2122,6 @@ put_resources:
2122static struct platform_driver tegra_pcie_driver = { 2122static struct platform_driver tegra_pcie_driver = {
2123 .driver = { 2123 .driver = {
2124 .name = "tegra-pcie", 2124 .name = "tegra-pcie",
2125 .owner = THIS_MODULE,
2126 .of_match_table = tegra_pcie_of_match, 2125 .of_match_table = tegra_pcie_of_match,
2127 .suppress_bind_attrs = true, 2126 .suppress_bind_attrs = true,
2128 }, 2127 },
diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c
index 9ecabfa8c634..2439fe57d70c 100644
--- a/drivers/pci/host/pci-xgene.c
+++ b/drivers/pci/host/pci-xgene.c
@@ -647,7 +647,6 @@ static const struct of_device_id xgene_pcie_match_table[] = {
647static struct platform_driver xgene_pcie_driver = { 647static struct platform_driver xgene_pcie_driver = {
648 .driver = { 648 .driver = {
649 .name = "xgene-pcie", 649 .name = "xgene-pcie",
650 .owner = THIS_MODULE,
651 .of_match_table = of_match_ptr(xgene_pcie_match_table), 650 .of_match_table = of_match_ptr(xgene_pcie_match_table),
652 }, 651 },
653 .probe = xgene_pcie_probe_bridge, 652 .probe = xgene_pcie_probe_bridge,
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index 61158e03ab5f..9b356c32b192 100644
--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -988,7 +988,6 @@ static int rcar_pcie_probe(struct platform_device *pdev)
988static struct platform_driver rcar_pcie_driver = { 988static struct platform_driver rcar_pcie_driver = {
989 .driver = { 989 .driver = {
990 .name = DRV_NAME, 990 .name = DRV_NAME,
991 .owner = THIS_MODULE,
992 .of_match_table = rcar_pcie_of_match, 991 .of_match_table = rcar_pcie_of_match,
993 .suppress_bind_attrs = true, 992 .suppress_bind_attrs = true,
994 }, 993 },
diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c
index 85f594e1708f..6826e0031381 100644
--- a/drivers/pci/host/pcie-spear13xx.c
+++ b/drivers/pci/host/pcie-spear13xx.c
@@ -375,7 +375,6 @@ static struct platform_driver spear13xx_pcie_driver __initdata = {
375 .probe = spear13xx_pcie_probe, 375 .probe = spear13xx_pcie_probe,
376 .driver = { 376 .driver = {
377 .name = "spear-pcie", 377 .name = "spear-pcie",
378 .owner = THIS_MODULE,
379 .of_match_table = of_match_ptr(spear13xx_pcie_of_match), 378 .of_match_table = of_match_ptr(spear13xx_pcie_of_match),
380 }, 379 },
381}; 380};
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c
index ccc496b33a97..56979ac36be2 100644
--- a/drivers/pci/host/pcie-xilinx.c
+++ b/drivers/pci/host/pcie-xilinx.c
@@ -956,7 +956,6 @@ static struct of_device_id xilinx_pcie_of_match[] = {
956static struct platform_driver xilinx_pcie_driver = { 956static struct platform_driver xilinx_pcie_driver = {
957 .driver = { 957 .driver = {
958 .name = "xilinx-pcie", 958 .name = "xilinx-pcie",
959 .owner = THIS_MODULE,
960 .of_match_table = xilinx_pcie_of_match, 959 .of_match_table = xilinx_pcie_of_match,
961 .suppress_bind_attrs = true, 960 .suppress_bind_attrs = true,
962 }, 961 },