]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
phy: remove .owner field for drivers using module_platform_driver
authorPeter Griffin <peter.griffin@linaro.org>
Fri, 15 Aug 2014 12:40:14 +0000 (13:40 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:34 +0000 (15:18 +0530)
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>
18 files changed:
drivers/phy/phy-bcm-kona-usb2.c
drivers/phy/phy-berlin-sata.c
drivers/phy/phy-exynos-dp-video.c
drivers/phy/phy-exynos-mipi-video.c
drivers/phy/phy-exynos5-usbdrd.c
drivers/phy/phy-exynos5250-sata.c
drivers/phy/phy-hix5hd2-sata.c
drivers/phy/phy-miphy365x.c
drivers/phy/phy-mvebu-sata.c
drivers/phy/phy-omap-control.c
drivers/phy/phy-omap-usb2.c
drivers/phy/phy-qcom-apq8064-sata.c
drivers/phy/phy-qcom-ipq806x-sata.c
drivers/phy/phy-samsung-usb2.c
drivers/phy/phy-sun4i-usb.c
drivers/phy/phy-ti-pipe3.c
drivers/phy/phy-twl4030-usb.c
drivers/phy/phy-xgene.c

index 894fe74c1e44fc8931933b7f1fd2ec0110619e7c..c1e0ca335c0ea5eb33588bb270ff0d9ae7435d42 100644 (file)
@@ -143,7 +143,6 @@ static struct platform_driver bcm_kona_usb2_driver = {
        .probe          = bcm_kona_usb2_probe,
        .driver         = {
                .name   = "bcm-kona-usb2",
-               .owner  = THIS_MODULE,
                .of_match_table = bcm_kona_usb2_dt_ids,
        },
 };
index 5c3a0424aeb41e412a6d77d1f3fd9618561d1973..69ced52d72aa7be906d92ecae3ef962c647586f2 100644 (file)
@@ -273,7 +273,6 @@ static struct platform_driver phy_berlin_sata_driver = {
        .probe  = phy_berlin_sata_probe,
        .driver = {
                .name           = "phy-berlin-sata",
-               .owner          = THIS_MODULE,
                .of_match_table = phy_berlin_sata_of_match,
        },
 };
index 53f44a0fe0aab6280fdd9b502ff0249da3427d18..84f49e5a3f24315850eb8b26d69fef1a696137f9 100644 (file)
@@ -128,7 +128,6 @@ static struct platform_driver exynos_dp_video_phy_driver = {
        .probe  = exynos_dp_video_phy_probe,
        .driver = {
                .name   = "exynos-dp-video-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = exynos_dp_video_phy_of_match,
        }
 };
index b55a92e1249626ba7fc2aad781bd8a82ac169069..6a9bef138617627ffca69a855ede1994d8887498 100644 (file)
@@ -165,7 +165,6 @@ static struct platform_driver exynos_mipi_video_phy_driver = {
        .driver = {
                .of_match_table = exynos_mipi_video_phy_of_match,
                .name  = "exynos-mipi-video-phy",
-               .owner = THIS_MODULE,
        }
 };
 module_platform_driver(exynos_mipi_video_phy_driver);
index 392101c8d6b04aad1f9cc25119c65cac0ff73471..f756aca871dba7ba05befd5f24bcf9e133a5ad89 100644 (file)
@@ -667,7 +667,6 @@ static struct platform_driver exynos5_usb3drd_phy = {
        .driver = {
                .of_match_table = exynos5_usbdrd_phy_of_match,
                .name           = "exynos5_usb3drd_phy",
-               .owner          = THIS_MODULE,
        }
 };
 
index 19a679aca4acbe9ea4556fb104fe8958c1cf449a..54cf4ae60d297f9471459a3b212dd15b3f87b73e 100644 (file)
@@ -240,7 +240,6 @@ static struct platform_driver exynos_sata_phy_driver = {
        .driver = {
                .of_match_table = exynos_sata_phy_of_match,
                .name  = "samsung,sata-phy",
-               .owner = THIS_MODULE,
        }
 };
 module_platform_driver(exynos_sata_phy_driver);
index 6a08fa5f81eba7b2b734065dd0491567886a739f..d5d978085c6d43e5220c5f0756930719e6c79313 100644 (file)
@@ -180,7 +180,6 @@ static struct platform_driver hix5hd2_sata_phy_driver = {
        .probe  = hix5hd2_sata_phy_probe,
        .driver = {
                .name   = "hix5hd2-sata-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = hix5hd2_sata_phy_of_match,
        }
 };
index e0fb7a1e5a5a9c9cf0be5fc109ba09556cb35593..801afaf2d449655bcc6acc45dac5d8655a850008 100644 (file)
@@ -626,7 +626,6 @@ static struct platform_driver miphy365x_driver = {
        .probe  = miphy365x_probe,
        .driver = {
                .name   = "miphy365x-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = miphy365x_of_match,
        }
 };
index 10bb8e5aa94062aeedb9e42ada9edba64c7588ba..d395558cb12e327fd1bc42d6f9f8c3a4d59fd5d9 100644 (file)
@@ -128,7 +128,6 @@ static struct platform_driver phy_mvebu_sata_driver = {
        .probe  = phy_mvebu_sata_probe,
        .driver = {
                .name   = "phy-mvebu-sata",
-               .owner  = THIS_MODULE,
                .of_match_table = phy_mvebu_sata_of_match,
        }
 };
index cb2f4d1c14aa517151db6da3aaee494d81623272..c96e8183a8ffe061e017976daa40632ac5a22c56 100644 (file)
@@ -345,7 +345,6 @@ static struct platform_driver omap_control_phy_driver = {
        .probe          = omap_control_phy_probe,
        .driver         = {
                .name   = "omap-control-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(omap_control_phy_id_table),
        },
 };
index 51c6f92220c5e16297b162b246f4d723aa55b147..8c842980834a2cebb40a77d31bc30f5f6ed643ae 100644 (file)
@@ -378,7 +378,6 @@ static struct platform_driver omap_usb2_driver = {
        .remove         = omap_usb2_remove,
        .driver         = {
                .name   = "omap-usb2",
-               .owner  = THIS_MODULE,
                .pm     = DEV_PM_OPS,
                .of_match_table = of_match_ptr(omap_usb2_id_table),
        },
index b3ef7d805765507260dc8735667216ef43706b97..7b3ddfb6589802e5862a81d9f97a0854b4093c66 100644 (file)
@@ -279,7 +279,6 @@ static struct platform_driver qcom_apq8064_sata_phy_driver = {
        .remove = qcom_apq8064_sata_phy_remove,
        .driver = {
                .name   = "qcom-apq8064-sata-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = qcom_apq8064_sata_phy_of_match,
        }
 };
index 909b5a87fc6a26de8f5a117efa6a0f34e842ed9f..759b0bf5b6b3ed8efe0de9cdafe8a4adaecb2227 100644 (file)
@@ -201,7 +201,6 @@ static struct platform_driver qcom_ipq806x_sata_phy_driver = {
        .remove = qcom_ipq806x_sata_phy_remove,
        .driver = {
                .name   = "qcom-ipq806x-sata-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = qcom_ipq806x_sata_phy_of_match,
        }
 };
index 3732ca25e09fbf9f0b5eb20abfc2983f8bfe4556..908949dfb4dbec93e22c55c27b293c2cb5bf6c9f 100644 (file)
@@ -231,7 +231,6 @@ static struct platform_driver samsung_usb2_phy_driver = {
        .driver = {
                .of_match_table = samsung_usb2_phy_of_match,
                .name           = "samsung-usb2-phy",
-               .owner          = THIS_MODULE,
        }
 };
 
index 61ebea49709bf9f003cf97cd9d4f1e7e45cbfc5f..0baf5efc8a40baff827bfb9aaf6e3cd0e8c094b8 100644 (file)
@@ -325,7 +325,6 @@ static struct platform_driver sun4i_usb_phy_driver = {
        .driver = {
                .of_match_table = sun4i_usb_phy_of_match,
                .name  = "sun4i-usb-phy",
-               .owner = THIS_MODULE,
        }
 };
 module_platform_driver(sun4i_usb_phy_driver);
index 9280ef8a05f53d21480d8ac136f3a3b1a4d40db6..ab1e22d9a1e8ac4ef786d184d925cd6b25c1ea8c 100644 (file)
@@ -518,7 +518,6 @@ static struct platform_driver ti_pipe3_driver = {
        .remove         = ti_pipe3_remove,
        .driver         = {
                .name   = "ti-pipe3",
-               .owner  = THIS_MODULE,
                .pm     = DEV_PM_OPS,
                .of_match_table = of_match_ptr(ti_pipe3_id_table),
        },
index 1e0e2d1f7941882bfc2c21b4803e72a6d4cd28f2..7b04befd5271e73bdac2ce2947350b758dc1fdfe 100644 (file)
@@ -785,7 +785,6 @@ static struct platform_driver twl4030_usb_driver = {
        .driver         = {
                .name   = "twl4030_usb",
                .pm     = &twl4030_usb_pm_ops,
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(twl4030_usb_id_table),
        },
 };
index db809b97219ec916f7bcc02d3fc63c2459e77f56..f8a51b16ade8efc279be7d72340b42b6c955fdef 100644 (file)
@@ -1738,7 +1738,6 @@ static struct platform_driver xgene_phy_driver = {
        .probe = xgene_phy_probe,
        .driver = {
                   .name = "xgene-phy",
-                  .owner = THIS_MODULE,
                   .of_match_table = xgene_phy_of_match,
        },
 };