mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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>
This commit is contained in:
parent
a5ec598650
commit
4f0eb5d7ef
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
@ -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),
|
||||
},
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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),
|
||||
},
|
||||
|
@ -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),
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user