* [PATCH] spi: npcm: fix platform_no_drv_owner.cocci warnings
[not found] <201811151510.lC0S0JPS%fengguang.wu@intel.com>
@ 2018-11-15 7:11 ` kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-11-15 7:11 UTC (permalink / raw)
To: Tomer Maimon
Cc: kbuild-all, Mark Brown, Avi Fishman, Patrick Venture, Nancy Yuen,
Brendan Higgins, openbmc, linux-spi, linux-kernel
From: kbuild test robot <fengguang.wu@intel.com>
drivers/spi/spi-npcm-pspi.c:470: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: 2a22f1b30cee ("spi: npcm: add NPCM PSPI controller driver")
CC: Tomer Maimon <tmaimon77@gmail.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: f4ad10924cb922842beafe644dd1b2aa8fa55189
commit: 2a22f1b30cee8d1e104a6c5062a609bedbfd5c39 [2986/3290] spi: npcm: add NPCM PSPI controller driver
spi-npcm-pspi.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/spi/spi-npcm-pspi.c
+++ b/drivers/spi/spi-npcm-pspi.c
@@ -467,7 +467,6 @@ static struct platform_driver npcm_pspi_
.driver = {
.name = DRIVER_NAME,
.of_match_table = npcm_pspi_match,
- .owner = THIS_MODULE,
},
.probe = npcm_pspi_probe,
.remove = npcm_pspi_remove,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-15 7:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201811151510.lC0S0JPS%fengguang.wu@intel.com>
2018-11-15 7:11 ` [PATCH] spi: npcm: 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;
as well as URLs for NNTP newsgroup(s).