aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-08-15 08:40:14 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2014-09-24 05:48:34 -0400
commit4f0eb5d7efe375859b15c97f453113a242bf057b (patch)
tree67e3942ebdba9f9604976c160425845acd5c674e /drivers/phy
parenta5ec598650257d9a7abefa6616840c872e194fdb (diff)
phy: remove .owner field for drivers using module_platform_driver
This patch removes the superflous .owner field for drivers which use the module_platform_driver or platform_driver_register api, as this is overriden in __platform_driver_register. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-bcm-kona-usb2.c1
-rw-r--r--drivers/phy/phy-berlin-sata.c1
-rw-r--r--drivers/phy/phy-exynos-dp-video.c1
-rw-r--r--drivers/phy/phy-exynos-mipi-video.c1
-rw-r--r--drivers/phy/phy-exynos5-usbdrd.c1
-rw-r--r--drivers/phy/phy-exynos5250-sata.c1
-rw-r--r--drivers/phy/phy-hix5hd2-sata.c1
-rw-r--r--drivers/phy/phy-miphy365x.c1
-rw-r--r--drivers/phy/phy-mvebu-sata.c1
-rw-r--r--drivers/phy/phy-omap-control.c1
-rw-r--r--drivers/phy/phy-omap-usb2.c1
-rw-r--r--drivers/phy/phy-qcom-apq8064-sata.c1
-rw-r--r--drivers/phy/phy-qcom-ipq806x-sata.c1
-rw-r--r--drivers/phy/phy-samsung-usb2.c1
-rw-r--r--drivers/phy/phy-sun4i-usb.c1
-rw-r--r--drivers/phy/phy-ti-pipe3.c1
-rw-r--r--drivers/phy/phy-twl4030-usb.c1
-rw-r--r--drivers/phy/phy-xgene.c1
18 files changed, 0 insertions, 18 deletions
diff --git a/drivers/phy/phy-bcm-kona-usb2.c b/drivers/phy/phy-bcm-kona-usb2.c
index 894fe74c1e44..c1e0ca335c0e 100644
--- a/drivers/phy/phy-bcm-kona-usb2.c
+++ b/drivers/phy/phy-bcm-kona-usb2.c
@@ -143,7 +143,6 @@ static struct platform_driver bcm_kona_usb2_driver = {
143 .probe = bcm_kona_usb2_probe, 143 .probe = bcm_kona_usb2_probe,
144 .driver = { 144 .driver = {
145 .name = "bcm-kona-usb2", 145 .name = "bcm-kona-usb2",
146 .owner = THIS_MODULE,
147 .of_match_table = bcm_kona_usb2_dt_ids, 146 .of_match_table = bcm_kona_usb2_dt_ids,
148 }, 147 },
149}; 148};
diff --git a/drivers/phy/phy-berlin-sata.c b/drivers/phy/phy-berlin-sata.c
index 5c3a0424aeb4..69ced52d72aa 100644
--- a/drivers/phy/phy-berlin-sata.c
+++ b/drivers/phy/phy-berlin-sata.c
@@ -273,7 +273,6 @@ static struct platform_driver phy_berlin_sata_driver = {
273 .probe = phy_berlin_sata_probe, 273 .probe = phy_berlin_sata_probe,
274 .driver = { 274 .driver = {
275 .name = "phy-berlin-sata", 275 .name = "phy-berlin-sata",
276 .owner = THIS_MODULE,
277 .of_match_table = phy_berlin_sata_of_match, 276 .of_match_table = phy_berlin_sata_of_match,
278 }, 277 },
279}; 278};
diff --git a/drivers/phy/phy-exynos-dp-video.c b/drivers/phy/phy-exynos-dp-video.c
index 53f44a0fe0aa..84f49e5a3f24 100644
--- a/drivers/phy/phy-exynos-dp-video.c
+++ b/drivers/phy/phy-exynos-dp-video.c
@@ -128,7 +128,6 @@ static struct platform_driver exynos_dp_video_phy_driver = {
128 .probe = exynos_dp_video_phy_probe, 128 .probe = exynos_dp_video_phy_probe,
129 .driver = { 129 .driver = {
130 .name = "exynos-dp-video-phy", 130 .name = "exynos-dp-video-phy",
131 .owner = THIS_MODULE,
132 .of_match_table = exynos_dp_video_phy_of_match, 131 .of_match_table = exynos_dp_video_phy_of_match,
133 } 132 }
134}; 133};
diff --git a/drivers/phy/phy-exynos-mipi-video.c b/drivers/phy/phy-exynos-mipi-video.c
index b55a92e12496..6a9bef138617 100644
--- a/drivers/phy/phy-exynos-mipi-video.c
+++ b/drivers/phy/phy-exynos-mipi-video.c
@@ -165,7 +165,6 @@ static struct platform_driver exynos_mipi_video_phy_driver = {
165 .driver = { 165 .driver = {
166 .of_match_table = exynos_mipi_video_phy_of_match, 166 .of_match_table = exynos_mipi_video_phy_of_match,
167 .name = "exynos-mipi-video-phy", 167 .name = "exynos-mipi-video-phy",
168 .owner = THIS_MODULE,
169 } 168 }
170}; 169};
171module_platform_driver(exynos_mipi_video_phy_driver); 170module_platform_driver(exynos_mipi_video_phy_driver);
diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c
index 392101c8d6b0..f756aca871db 100644
--- a/drivers/phy/phy-exynos5-usbdrd.c
+++ b/drivers/phy/phy-exynos5-usbdrd.c
@@ -667,7 +667,6 @@ static struct platform_driver exynos5_usb3drd_phy = {
667 .driver = { 667 .driver = {
668 .of_match_table = exynos5_usbdrd_phy_of_match, 668 .of_match_table = exynos5_usbdrd_phy_of_match,
669 .name = "exynos5_usb3drd_phy", 669 .name = "exynos5_usb3drd_phy",
670 .owner = THIS_MODULE,
671 } 670 }
672}; 671};
673 672
diff --git a/drivers/phy/phy-exynos5250-sata.c b/drivers/phy/phy-exynos5250-sata.c
index 19a679aca4ac..54cf4ae60d29 100644
--- a/drivers/phy/phy-exynos5250-sata.c
+++ b/drivers/phy/phy-exynos5250-sata.c
@@ -240,7 +240,6 @@ static struct platform_driver exynos_sata_phy_driver = {
240 .driver = { 240 .driver = {
241 .of_match_table = exynos_sata_phy_of_match, 241 .of_match_table = exynos_sata_phy_of_match,
242 .name = "samsung,sata-phy", 242 .name = "samsung,sata-phy",
243 .owner = THIS_MODULE,
244 } 243 }
245}; 244};
246module_platform_driver(exynos_sata_phy_driver); 245module_platform_driver(exynos_sata_phy_driver);
diff --git a/drivers/phy/phy-hix5hd2-sata.c b/drivers/phy/phy-hix5hd2-sata.c
index 6a08fa5f81eb..d5d978085c6d 100644
--- a/drivers/phy/phy-hix5hd2-sata.c
+++ b/drivers/phy/phy-hix5hd2-sata.c
@@ -180,7 +180,6 @@ static struct platform_driver hix5hd2_sata_phy_driver = {
180 .probe = hix5hd2_sata_phy_probe, 180 .probe = hix5hd2_sata_phy_probe,
181 .driver = { 181 .driver = {
182 .name = "hix5hd2-sata-phy", 182 .name = "hix5hd2-sata-phy",
183 .owner = THIS_MODULE,
184 .of_match_table = hix5hd2_sata_phy_of_match, 183 .of_match_table = hix5hd2_sata_phy_of_match,
185 } 184 }
186}; 185};
diff --git a/drivers/phy/phy-miphy365x.c b/drivers/phy/phy-miphy365x.c
index e0fb7a1e5a5a..801afaf2d449 100644
--- a/drivers/phy/phy-miphy365x.c
+++ b/drivers/phy/phy-miphy365x.c
@@ -626,7 +626,6 @@ static struct platform_driver miphy365x_driver = {
626 .probe = miphy365x_probe, 626 .probe = miphy365x_probe,
627 .driver = { 627 .driver = {
628 .name = "miphy365x-phy", 628 .name = "miphy365x-phy",
629 .owner = THIS_MODULE,
630 .of_match_table = miphy365x_of_match, 629 .of_match_table = miphy365x_of_match,
631 } 630 }
632}; 631};
diff --git a/drivers/phy/phy-mvebu-sata.c b/drivers/phy/phy-mvebu-sata.c
index 10bb8e5aa940..d395558cb12e 100644
--- a/drivers/phy/phy-mvebu-sata.c
+++ b/drivers/phy/phy-mvebu-sata.c
@@ -128,7 +128,6 @@ static struct platform_driver phy_mvebu_sata_driver = {
128 .probe = phy_mvebu_sata_probe, 128 .probe = phy_mvebu_sata_probe,
129 .driver = { 129 .driver = {
130 .name = "phy-mvebu-sata", 130 .name = "phy-mvebu-sata",
131 .owner = THIS_MODULE,
132 .of_match_table = phy_mvebu_sata_of_match, 131 .of_match_table = phy_mvebu_sata_of_match,
133 } 132 }
134}; 133};
diff --git a/drivers/phy/phy-omap-control.c b/drivers/phy/phy-omap-control.c
index cb2f4d1c14aa..c96e8183a8ff 100644
--- a/drivers/phy/phy-omap-control.c
+++ b/drivers/phy/phy-omap-control.c
@@ -345,7 +345,6 @@ static struct platform_driver omap_control_phy_driver = {
345 .probe = omap_control_phy_probe, 345 .probe = omap_control_phy_probe,
346 .driver = { 346 .driver = {
347 .name = "omap-control-phy", 347 .name = "omap-control-phy",
348 .owner = THIS_MODULE,
349 .of_match_table = of_match_ptr(omap_control_phy_id_table), 348 .of_match_table = of_match_ptr(omap_control_phy_id_table),
350 }, 349 },
351}; 350};
diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c
index 51c6f92220c5..8c842980834a 100644
--- a/drivers/phy/phy-omap-usb2.c
+++ b/drivers/phy/phy-omap-usb2.c
@@ -378,7 +378,6 @@ static struct platform_driver omap_usb2_driver = {
378 .remove = omap_usb2_remove, 378 .remove = omap_usb2_remove,
379 .driver = { 379 .driver = {
380 .name = "omap-usb2", 380 .name = "omap-usb2",
381 .owner = THIS_MODULE,
382 .pm = DEV_PM_OPS, 381 .pm = DEV_PM_OPS,
383 .of_match_table = of_match_ptr(omap_usb2_id_table), 382 .of_match_table = of_match_ptr(omap_usb2_id_table),
384 }, 383 },
diff --git a/drivers/phy/phy-qcom-apq8064-sata.c b/drivers/phy/phy-qcom-apq8064-sata.c
index b3ef7d805765..7b3ddfb65898 100644
--- a/drivers/phy/phy-qcom-apq8064-sata.c
+++ b/drivers/phy/phy-qcom-apq8064-sata.c
@@ -279,7 +279,6 @@ static struct platform_driver qcom_apq8064_sata_phy_driver = {
279 .remove = qcom_apq8064_sata_phy_remove, 279 .remove = qcom_apq8064_sata_phy_remove,
280 .driver = { 280 .driver = {
281 .name = "qcom-apq8064-sata-phy", 281 .name = "qcom-apq8064-sata-phy",
282 .owner = THIS_MODULE,
283 .of_match_table = qcom_apq8064_sata_phy_of_match, 282 .of_match_table = qcom_apq8064_sata_phy_of_match,
284 } 283 }
285}; 284};
diff --git a/drivers/phy/phy-qcom-ipq806x-sata.c b/drivers/phy/phy-qcom-ipq806x-sata.c
index 909b5a87fc6a..759b0bf5b6b3 100644
--- a/drivers/phy/phy-qcom-ipq806x-sata.c
+++ b/drivers/phy/phy-qcom-ipq806x-sata.c
@@ -201,7 +201,6 @@ static struct platform_driver qcom_ipq806x_sata_phy_driver = {
201 .remove = qcom_ipq806x_sata_phy_remove, 201 .remove = qcom_ipq806x_sata_phy_remove,
202 .driver = { 202 .driver = {
203 .name = "qcom-ipq806x-sata-phy", 203 .name = "qcom-ipq806x-sata-phy",
204 .owner = THIS_MODULE,
205 .of_match_table = qcom_ipq806x_sata_phy_of_match, 204 .of_match_table = qcom_ipq806x_sata_phy_of_match,
206 } 205 }
207}; 206};
diff --git a/drivers/phy/phy-samsung-usb2.c b/drivers/phy/phy-samsung-usb2.c
index 3732ca25e09f..908949dfb4db 100644
--- a/drivers/phy/phy-samsung-usb2.c
+++ b/drivers/phy/phy-samsung-usb2.c
@@ -231,7 +231,6 @@ static struct platform_driver samsung_usb2_phy_driver = {
231 .driver = { 231 .driver = {
232 .of_match_table = samsung_usb2_phy_of_match, 232 .of_match_table = samsung_usb2_phy_of_match,
233 .name = "samsung-usb2-phy", 233 .name = "samsung-usb2-phy",
234 .owner = THIS_MODULE,
235 } 234 }
236}; 235};
237 236
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
index 61ebea49709b..0baf5efc8a40 100644
--- a/drivers/phy/phy-sun4i-usb.c
+++ b/drivers/phy/phy-sun4i-usb.c
@@ -325,7 +325,6 @@ static struct platform_driver sun4i_usb_phy_driver = {
325 .driver = { 325 .driver = {
326 .of_match_table = sun4i_usb_phy_of_match, 326 .of_match_table = sun4i_usb_phy_of_match,
327 .name = "sun4i-usb-phy", 327 .name = "sun4i-usb-phy",
328 .owner = THIS_MODULE,
329 } 328 }
330}; 329};
331module_platform_driver(sun4i_usb_phy_driver); 330module_platform_driver(sun4i_usb_phy_driver);
diff --git a/drivers/phy/phy-ti-pipe3.c b/drivers/phy/phy-ti-pipe3.c
index 9280ef8a05f5..ab1e22d9a1e8 100644
--- a/drivers/phy/phy-ti-pipe3.c
+++ b/drivers/phy/phy-ti-pipe3.c
@@ -518,7 +518,6 @@ static struct platform_driver ti_pipe3_driver = {
518 .remove = ti_pipe3_remove, 518 .remove = ti_pipe3_remove,
519 .driver = { 519 .driver = {
520 .name = "ti-pipe3", 520 .name = "ti-pipe3",
521 .owner = THIS_MODULE,
522 .pm = DEV_PM_OPS, 521 .pm = DEV_PM_OPS,
523 .of_match_table = of_match_ptr(ti_pipe3_id_table), 522 .of_match_table = of_match_ptr(ti_pipe3_id_table),
524 }, 523 },
diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
index 1e0e2d1f7941..7b04befd5271 100644
--- a/drivers/phy/phy-twl4030-usb.c
+++ b/drivers/phy/phy-twl4030-usb.c
@@ -785,7 +785,6 @@ static struct platform_driver twl4030_usb_driver = {
785 .driver = { 785 .driver = {
786 .name = "twl4030_usb", 786 .name = "twl4030_usb",
787 .pm = &twl4030_usb_pm_ops, 787 .pm = &twl4030_usb_pm_ops,
788 .owner = THIS_MODULE,
789 .of_match_table = of_match_ptr(twl4030_usb_id_table), 788 .of_match_table = of_match_ptr(twl4030_usb_id_table),
790 }, 789 },
791}; 790};
diff --git a/drivers/phy/phy-xgene.c b/drivers/phy/phy-xgene.c
index db809b97219e..f8a51b16ade8 100644
--- a/drivers/phy/phy-xgene.c
+++ b/drivers/phy/phy-xgene.c
@@ -1738,7 +1738,6 @@ static struct platform_driver xgene_phy_driver = {
1738 .probe = xgene_phy_probe, 1738 .probe = xgene_phy_probe,
1739 .driver = { 1739 .driver = {
1740 .name = "xgene-phy", 1740 .name = "xgene-phy",
1741 .owner = THIS_MODULE,
1742 .of_match_table = xgene_phy_of_match, 1741 .of_match_table = xgene_phy_of_match,
1743 }, 1742 },
1744}; 1743};