Messages in this thread Patch in this message | | | Date | Tue, 26 Feb 2019 04:34:28 +0800 | From | kbuild test robot <> | 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, }, };
| |