diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-07-29 14:19:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-29 15:40:41 +0300 |
commit | b9f13084580c9032ba7c505da2c6c075f176472a (patch) | |
tree | f224d0575ea324f08f8c079e78c6594912173014 /drivers/staging/axis-fifo | |
parent | 8cc7be34c6385dc04e01bc7c25868782e4d2fbd0 (diff) | |
download | linux-b9f13084580c9032ba7c505da2c6c075f176472a.tar.xz |
staging: fix platform_no_drv_owner.cocci warnings
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/axis-fifo')
-rw-r--r-- | drivers/staging/axis-fifo/axis-fifo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c index 51a081df5741..abeee0ecc122 100644 --- 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_match); 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, |