phy: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:26:27 +0000 (15:26 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 25 Jul 2015 10:15:48 +0000 (15:45 +0530)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-miphy28lp.c
drivers/phy/phy-qcom-ufs-qmp-14nm.c
drivers/phy/phy-qcom-ufs-qmp-20nm.c
drivers/phy/phy-rockchip-usb.c

index 5e257ef7ac050a55bc09d6ce853aa6d2a37cf52e..677c290f4b1405e59dbf9ceabfe6db32d7708f00 100644 (file)
@@ -1268,7 +1268,6 @@ static struct platform_driver miphy28lp_driver = {
        .probe = miphy28lp_probe,
        .driver = {
                .name = "miphy28lp-phy",
-               .owner = THIS_MODULE,
                .of_match_table = miphy28lp_of_match,
        }
 };
index f5fc50a9fce782036357bbd8f536ea08c209ee10..e1eea1b379fcc0107fec6d701f5cb5467c5507c0 100644 (file)
@@ -191,7 +191,6 @@ static struct platform_driver ufs_qcom_phy_qmp_14nm_driver = {
        .driver = {
                .of_match_table = ufs_qcom_phy_qmp_14nm_of_match,
                .name = "ufs_qcom_phy_qmp_14nm",
-               .owner = THIS_MODULE,
        },
 };
 
index 8332f96b2c4a7c7496e9ae3f987f6f404fd7faea..fde8c876823b8bc30e580b3764f74e06da2ac820 100644 (file)
@@ -247,7 +247,6 @@ static struct platform_driver ufs_qcom_phy_qmp_20nm_driver = {
        .driver = {
                .of_match_table = ufs_qcom_phy_qmp_20nm_of_match,
                .name = "ufs_qcom_phy_qmp_20nm",
-               .owner = THIS_MODULE,
        },
 };
 
index 7d4c33643768808780f71455900bc7dd51329103..bf78721b58f449f1d3410de7b34d10b2a3da27ec 100644 (file)
@@ -146,7 +146,6 @@ static struct platform_driver rockchip_usb_driver = {
        .probe          = rockchip_usb_phy_probe,
        .driver         = {
                .name   = "rockchip-usb-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = rockchip_usb_phy_dt_ids,
        },
 };