Skip to contentSkip to conversation

phy: phy-brcm-usb: Remove owner assignment from platform_driver

PATCH New Fabio Estevam 1 participant 1 message Apr 23, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 phy: phy-brcm-usb: Remove owner assignment from platform_driver

From: Fabio Estevam <[email protected]>

Structure platform_driver does not need to set the owner field, as this will be populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

---
Changes since v2:
- Fix typo on Florian's last name
Changes since v1:
- Add lkml on Cc as per Florian's request
- Add Florian's Acked-by

 drivers/phy/broadcom/phy-brcm-usb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/broadcom/phy-brcm-usb.c +0 -1
index d1dab36..3973386 100644
@@ -445,7 +445,6 @@ static struct platform_driver brcm_usb_driver = {
 	.probe		= brcm_usb_phy_probe,
 	.driver		= {
 		.name	= "brcmstb-usb-phy",
-		.owner	= THIS_MODULE,
 		.pm = &brcm_usb_phy_pm_ops,
 		.of_match_table = brcm_usb_dt_ids,
 	},
Signature · 1 line
2.7.4