LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2] phy: phy-brcm-usb: Remove owner assignment from platform_driver
@ 2018-04-23 17:59 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2018-04-23 17:59 UTC (permalink / raw)
  To: kishon
  Cc: alcooperx, f.fainelli, linux-kernel, bcm-kernel-feedback-list,
	Fabio Estevam

From: Fabio Estevam <fabio.estevam@nxp.com>

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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Florian Fianelli <f.fainelli@gmail.com>
---
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(-)

diff --git a/drivers/phy/broadcom/phy-brcm-usb.c b/drivers/phy/broadcom/phy-brcm-usb.c
index d1dab36..3973386 100644
--- a/drivers/phy/broadcom/phy-brcm-usb.c
+++ b/drivers/phy/broadcom/phy-brcm-usb.c
@@ -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,
 	},
-- 
2.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-23 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 17:59 [PATCH v2] phy: phy-brcm-usb: Remove owner assignment from platform_driver Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).