aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:50 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:50 -0400
commita25f10c27c1cbdd5dafaa9018136aaba2fd53bcf (patch)
treeb0ae6b2f3d46a1c0b70983d25ecf12360023af96
parent59a9e07b0b1eca239e060a8111e09e4057453192 (diff)
usb: phy: 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/usb/phy/phy-ab8500-usb.c1
-rw-r--r--drivers/usb/phy/phy-am335x-control.c1
-rw-r--r--drivers/usb/phy/phy-am335x.c1
-rw-r--r--drivers/usb/phy/phy-generic.c1
-rw-r--r--drivers/usb/phy/phy-gpio-vbus-usb.c1
-rw-r--r--drivers/usb/phy/phy-isp1301-omap.c1
-rw-r--r--drivers/usb/phy/phy-keystone.c1
-rw-r--r--drivers/usb/phy/phy-mv-usb.c1
-rw-r--r--drivers/usb/phy/phy-mxs-usb.c1
-rw-r--r--drivers/usb/phy/phy-omap-otg.c1
-rw-r--r--drivers/usb/phy/phy-tahvo.c1
-rw-r--r--drivers/usb/phy/phy-tegra-usb.c1
-rw-r--r--drivers/usb/phy/phy-twl6030-usb.c1
13 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c
index 11ab2c45e462..579ef4e9cc41 100644
--- a/drivers/usb/phy/phy-ab8500-usb.c
+++ b/drivers/usb/phy/phy-ab8500-usb.c
@@ -1505,7 +1505,6 @@ static struct platform_driver ab8500_usb_driver = {
1505 .id_table = ab8500_usb_devtype, 1505 .id_table = ab8500_usb_devtype,
1506 .driver = { 1506 .driver = {
1507 .name = "abx5x0-usb", 1507 .name = "abx5x0-usb",
1508 .owner = THIS_MODULE,
1509 }, 1508 },
1510}; 1509};
1511 1510
diff --git a/drivers/usb/phy/phy-am335x-control.c b/drivers/usb/phy/phy-am335x-control.c
index 35b6083b7999..460b515cc5cf 100644
--- a/drivers/usb/phy/phy-am335x-control.c
+++ b/drivers/usb/phy/phy-am335x-control.c
@@ -175,7 +175,6 @@ static struct platform_driver am335x_control_driver = {
175 .probe = am335x_control_usb_probe, 175 .probe = am335x_control_usb_probe,
176 .driver = { 176 .driver = {
177 .name = "am335x-control-usb", 177 .name = "am335x-control-usb",
178 .owner = THIS_MODULE,
179 .of_match_table = omap_control_usb_id_table, 178 .of_match_table = omap_control_usb_id_table,
180 }, 179 },
181}; 180};
diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c
index b70e05537180..90b67a4ca221 100644
--- a/drivers/usb/phy/phy-am335x.c
+++ b/drivers/usb/phy/phy-am335x.c
@@ -137,7 +137,6 @@ static struct platform_driver am335x_phy_driver = {
137 .remove = am335x_phy_remove, 137 .remove = am335x_phy_remove,
138 .driver = { 138 .driver = {
139 .name = "am335x-phy-driver", 139 .name = "am335x-phy-driver",
140 .owner = THIS_MODULE,
141 .pm = &am335x_pm_ops, 140 .pm = &am335x_pm_ops,
142 .of_match_table = am335x_phy_ids, 141 .of_match_table = am335x_phy_ids,
143 }, 142 },
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c
index 7594e5069ae5..1bb4d3adc9c7 100644
--- a/drivers/usb/phy/phy-generic.c
+++ b/drivers/usb/phy/phy-generic.c
@@ -286,7 +286,6 @@ static struct platform_driver usb_phy_generic_driver = {
286 .remove = usb_phy_generic_remove, 286 .remove = usb_phy_generic_remove,
287 .driver = { 287 .driver = {
288 .name = "usb_phy_generic", 288 .name = "usb_phy_generic",
289 .owner = THIS_MODULE,
290 .of_match_table = nop_xceiv_dt_ids, 289 .of_match_table = nop_xceiv_dt_ids,
291 }, 290 },
292}; 291};
diff --git a/drivers/usb/phy/phy-gpio-vbus-usb.c b/drivers/usb/phy/phy-gpio-vbus-usb.c
index f4b14bd97e14..b5c368a9175f 100644
--- a/drivers/usb/phy/phy-gpio-vbus-usb.c
+++ b/drivers/usb/phy/phy-gpio-vbus-usb.c
@@ -380,7 +380,6 @@ MODULE_ALIAS("platform:gpio-vbus");
380static struct platform_driver gpio_vbus_driver = { 380static struct platform_driver gpio_vbus_driver = {
381 .driver = { 381 .driver = {
382 .name = "gpio-vbus", 382 .name = "gpio-vbus",
383 .owner = THIS_MODULE,
384#ifdef CONFIG_PM 383#ifdef CONFIG_PM
385 .pm = &gpio_vbus_dev_pm_ops, 384 .pm = &gpio_vbus_dev_pm_ops,
386#endif 385#endif
diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c
index 8eea56d3ded6..397b17134487 100644
--- a/drivers/usb/phy/phy-isp1301-omap.c
+++ b/drivers/usb/phy/phy-isp1301-omap.c
@@ -878,7 +878,6 @@ static struct platform_driver omap_otg_driver = {
878 .probe = otg_probe, 878 .probe = otg_probe,
879 .remove = otg_remove, 879 .remove = otg_remove,
880 .driver = { 880 .driver = {
881 .owner = THIS_MODULE,
882 .name = "omap_otg", 881 .name = "omap_otg",
883 }, 882 },
884}; 883};
diff --git a/drivers/usb/phy/phy-keystone.c b/drivers/usb/phy/phy-keystone.c
index f4d722de912b..e0556f7832b5 100644
--- a/drivers/usb/phy/phy-keystone.c
+++ b/drivers/usb/phy/phy-keystone.c
@@ -123,7 +123,6 @@ static struct platform_driver keystone_usbphy_driver = {
123 .remove = keystone_usbphy_remove, 123 .remove = keystone_usbphy_remove,
124 .driver = { 124 .driver = {
125 .name = "keystone-usbphy", 125 .name = "keystone-usbphy",
126 .owner = THIS_MODULE,
127 .of_match_table = keystone_usbphy_ids, 126 .of_match_table = keystone_usbphy_ids,
128 }, 127 },
129}; 128};
diff --git a/drivers/usb/phy/phy-mv-usb.c b/drivers/usb/phy/phy-mv-usb.c
index 7d80c54f0ac6..2162f7a37f76 100644
--- a/drivers/usb/phy/phy-mv-usb.c
+++ b/drivers/usb/phy/phy-mv-usb.c
@@ -896,7 +896,6 @@ static struct platform_driver mv_otg_driver = {
896 .probe = mv_otg_probe, 896 .probe = mv_otg_probe,
897 .remove = mv_otg_remove, 897 .remove = mv_otg_remove,
898 .driver = { 898 .driver = {
899 .owner = THIS_MODULE,
900 .name = driver_name, 899 .name = driver_name,
901 }, 900 },
902#ifdef CONFIG_PM 901#ifdef CONFIG_PM
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index 0e0c41587a08..9aef6ca162fe 100644
--- a/drivers/usb/phy/phy-mxs-usb.c
+++ b/drivers/usb/phy/phy-mxs-usb.c
@@ -491,7 +491,6 @@ static struct platform_driver mxs_phy_driver = {
491 .remove = mxs_phy_remove, 491 .remove = mxs_phy_remove,
492 .driver = { 492 .driver = {
493 .name = DRIVER_NAME, 493 .name = DRIVER_NAME,
494 .owner = THIS_MODULE,
495 .of_match_table = mxs_phy_dt_ids, 494 .of_match_table = mxs_phy_dt_ids,
496 .pm = &mxs_phy_pm, 495 .pm = &mxs_phy_pm,
497 }, 496 },
diff --git a/drivers/usb/phy/phy-omap-otg.c b/drivers/usb/phy/phy-omap-otg.c
index 11598cdb3189..56ee7603034b 100644
--- a/drivers/usb/phy/phy-omap-otg.c
+++ b/drivers/usb/phy/phy-omap-otg.c
@@ -158,7 +158,6 @@ static struct platform_driver omap_otg_driver = {
158 .probe = omap_otg_probe, 158 .probe = omap_otg_probe,
159 .remove = omap_otg_remove, 159 .remove = omap_otg_remove,
160 .driver = { 160 .driver = {
161 .owner = THIS_MODULE,
162 .name = "omap_otg", 161 .name = "omap_otg",
163 }, 162 },
164}; 163};
diff --git a/drivers/usb/phy/phy-tahvo.c b/drivers/usb/phy/phy-tahvo.c
index cc61ee44b911..6a6777d2f57d 100644
--- a/drivers/usb/phy/phy-tahvo.c
+++ b/drivers/usb/phy/phy-tahvo.c
@@ -446,7 +446,6 @@ static struct platform_driver tahvo_usb_driver = {
446 .remove = tahvo_usb_remove, 446 .remove = tahvo_usb_remove,
447 .driver = { 447 .driver = {
448 .name = "tahvo-usb", 448 .name = "tahvo-usb",
449 .owner = THIS_MODULE,
450 }, 449 },
451}; 450};
452module_platform_driver(tahvo_usb_driver); 451module_platform_driver(tahvo_usb_driver);
diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c
index 886f1807a67b..af9c9ec9b2a6 100644
--- a/drivers/usb/phy/phy-tegra-usb.c
+++ b/drivers/usb/phy/phy-tegra-usb.c
@@ -1086,7 +1086,6 @@ static struct platform_driver tegra_usb_phy_driver = {
1086 .remove = tegra_usb_phy_remove, 1086 .remove = tegra_usb_phy_remove,
1087 .driver = { 1087 .driver = {
1088 .name = "tegra-phy", 1088 .name = "tegra-phy",
1089 .owner = THIS_MODULE,
1090 .of_match_table = tegra_usb_phy_id_table, 1089 .of_match_table = tegra_usb_phy_id_table,
1091 }, 1090 },
1092}; 1091};
diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c
index 44ea082e40dc..12741856a75c 100644
--- a/drivers/usb/phy/phy-twl6030-usb.c
+++ b/drivers/usb/phy/phy-twl6030-usb.c
@@ -430,7 +430,6 @@ static struct platform_driver twl6030_usb_driver = {
430 .remove = twl6030_usb_remove, 430 .remove = twl6030_usb_remove,
431 .driver = { 431 .driver = {
432 .name = "twl6030_usb", 432 .name = "twl6030_usb",
433 .owner = THIS_MODULE,
434 .of_match_table = of_match_ptr(twl6030_usb_id_table), 433 .of_match_table = of_match_ptr(twl6030_usb_id_table),
435 }, 434 },
436}; 435};