* [PATCH] staging: fix platform_no_drv_owner.cocci warnings
[not found] <201807291910.40c28q6f%fengguang.wu@intel.com>
@ 2018-07-29 11:19 ` kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-07-29 11:19 UTC (permalink / raw)
To: Jacob Feder; +Cc: kbuild-all, devel, Greg Kroah-Hartman, linux-kernel
From: kbuild test robot <fengguang.wu@intel.com>
drivers/staging/axis-fifo/axis-fifo.c:1081: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: 4a965c5f89de ("staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core")
CC: Jacob Feder <jacobsfeder@gmail.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
axis-fifo.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -1078,7 +1078,6 @@ MODULE_DEVICE_TABLE(of, axis_fifo_of_mat
static struct platform_driver axis_fifo_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = axis_fifo_of_match,
},
.probe = axis_fifo_probe,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-29 11:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201807291910.40c28q6f%fengguang.wu@intel.com>
2018-07-29 11:19 ` [PATCH] staging: 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).