[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180729111926.GA34363@xian>
Date: Sun, 29 Jul 2018 19:19:26 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Jacob Feder <jacobsfeder@...il.com>
Cc: kbuild-all@...org, devel@...verdev.osuosl.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] staging: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <fengguang.wu@...el.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@...il.com>
Signed-off-by: kbuild test robot <fengguang.wu@...el.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,
Powered by blists - more mailing lists