diff mbox series

[v2,1/3] usb: phy: fsl-usb: drop driver owner assignment

Message ID 20240331091737.19836-1-krzk@kernel.org (mailing list archive)
State Accepted
Commit 6f729457a8ee097f96ee2b026d502b5249515cb3
Headers show
Series [v2,1/3] usb: phy: fsl-usb: drop driver owner assignment | expand

Commit Message

Krzysztof Kozlowski March 31, 2024, 9:17 a.m. UTC
Core in platform_driver_register() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes in v2:
1. None
---
 drivers/usb/phy/phy-fsl-usb.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c
index 79617bb0a70e..1ebbf189a535 100644
--- a/drivers/usb/phy/phy-fsl-usb.c
+++ b/drivers/usb/phy/phy-fsl-usb.c
@@ -1005,7 +1005,6 @@  struct platform_driver fsl_otg_driver = {
 	.remove_new = fsl_otg_remove,
 	.driver = {
 		.name = driver_name,
-		.owner = THIS_MODULE,
 	},
 };