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

Commit 566e0269 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

usb: host: drop owner assignment from platform_drivers



A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 6d3f5f2d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -323,7 +323,6 @@ static struct platform_driver exynos_ehci_driver = {
	.shutdown	= usb_hcd_platform_shutdown,
	.driver = {
		.name	= "exynos-ehci",
		.owner	= THIS_MODULE,
		.pm	= &exynos_ehci_pm_ops,
		.of_match_table = of_match_ptr(exynos_ehci_match),
	}
+0 −1
Original line number Diff line number Diff line
@@ -321,7 +321,6 @@ static struct platform_driver ehci_orion_driver = {
	.shutdown	= usb_hcd_platform_shutdown,
	.driver = {
		.name	= "orion-ehci",
		.owner  = THIS_MODULE,
		.of_match_table = ehci_orion_dt_ids,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -379,7 +379,6 @@ static struct platform_driver ehci_platform_driver = {
	.remove		= ehci_platform_remove,
	.shutdown	= usb_hcd_platform_shutdown,
	.driver		= {
		.owner	= THIS_MODULE,
		.name	= "ehci-platform",
		.pm	= &ehci_platform_pm_ops,
		.of_match_table = vt8500_ehci_ids,
+0 −1
Original line number Diff line number Diff line
@@ -126,7 +126,6 @@ static struct platform_driver ehci_hcd_w90x900_driver = {
	.remove = ehci_w90x900_remove,
	.driver = {
		.name = "w90x900-ehci",
		.owner = THIS_MODULE,
	},
};

+0 −1
Original line number Diff line number Diff line
@@ -821,7 +821,6 @@ MODULE_DEVICE_TABLE(of, of_fhci_match);
static struct platform_driver of_fhci_driver = {
	.driver = {
		.name = "fsl,usb-fhci",
		.owner = THIS_MODULE,
		.of_match_table = of_fhci_match,
	},
	.probe		= of_fhci_probe,
Loading