Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f0eb5d7 authored by Peter Griffin's avatar Peter Griffin Committed by Kishon Vijay Abraham I
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent a5ec5986
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -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,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -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,
	}
};
+0 −1
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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,
	}
};

Loading