lkml.org 
[lkml]   [2019]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] phy: fix platform_no_drv_owner.cocci warnings
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,
},
};
\
 
 \ /
  Last update: 2019-02-25 21:35    [W:0.042 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site