mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] phy: fix platform_no_drv_owner.cocci warnings
       [not found] <201902260410.0o0iqLaG%fengguang.wu@intel.com>
@ 2019-02-25 20:34 ` kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-02-25 20:34 UTC (permalink / raw)
  To: Miquel Raynal
  Cc: kbuild-all, Kishon Vijay Abraham I, Igal Liberman, linux-kernel

From: kbuild test robot <lkp@intel.com>

drivers/phy/marvell/phy-mvebu-a3700-utmi.c:269:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

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

Fixes: cc8b7a0ae866 ("phy: add A3700 UTMI PHY driver")
CC: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2b46440ea71508f7037566dbbab3567d1a64093d
commit: cc8b7a0ae866bb2ac8e4d089173a5e676105c8cb [6049/11177] phy: add A3700 UTMI PHY driver

 phy-mvebu-a3700-utmi.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/phy/marvell/phy-mvebu-a3700-utmi.c
+++ b/drivers/phy/marvell/phy-mvebu-a3700-utmi.c
@@ -266,7 +266,6 @@ static struct platform_driver mvebu_a370
 	.probe	= mvebu_a3700_utmi_phy_probe,
 	.driver	= {
 		.name		= "mvebu-a3700-utmi-phy",
-		.owner		= THIS_MODULE,
 		.of_match_table	= mvebu_a3700_utmi_of_match,
 	 },
 };

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

only message in thread, other threads:[~2019-02-25 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201902260410.0o0iqLaG%fengguang.wu@intel.com>
2019-02-25 20:34 ` [PATCH] phy: fix platform_no_drv_owner.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®