[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190225203427.GA13804@lkp-ne04>
Date: Tue, 26 Feb 2019 04:34:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: kbuild-all@...org, Kishon Vijay Abraham I <kishon@...com>,
Igal Liberman <igall@...vell.com>, linux-kernel@...r.kernel.org
Subject: [PATCH] phy: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <lkp@...el.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@...tlin.com>
Signed-off-by: kbuild test robot <fengguang.wu@...el.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,
},
};
Powered by blists - more mailing lists