LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] staging: kpc2000: kpc_i2c: fix platform_no_drv_owner.cocci warnings
[not found] <201905230355.OQnavbXj%lkp@intel.com>
@ 2019-05-22 19:58 ` kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-05-22 19:58 UTC (permalink / raw)
To: Geordan Neukum
Cc: kbuild-all, devel, Greg Kroah-Hartman, Dan Carpenter, linux-kernel
From: kbuild test robot <lkp@intel.com>
drivers/staging/kpc2000/kpc2000_i2c.c:652: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: 43ad38191816 ("staging: kpc2000: kpc_i2c: add static qual to local symbols in kpc_i2c.c")
CC: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head: 43ad38191816a6b77cc4bd8222353320a71a1d2d
commit: 43ad38191816a6b77cc4bd8222353320a71a1d2d [106/106] staging: kpc2000: kpc_i2c: add static qual to local symbols in kpc_i2c.c
kpc2000_i2c.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/staging/kpc2000/kpc2000_i2c.c
+++ b/drivers/staging/kpc2000/kpc2000_i2c.c
@@ -649,7 +649,6 @@ static struct platform_driver i2c_plat_d
.remove = pi2c_remove,
.driver = {
.name = KP_DRIVER_NAME_I2C,
- .owner = THIS_MODULE,
},
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-22 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201905230355.OQnavbXj%lkp@intel.com>
2019-05-22 19:58 ` [PATCH] staging: kpc2000: kpc_i2c: 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).