Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468526
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] dma: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-08-23 14:20 +0200 |
| Message-ID | <s9iQq-3TB-9@gated-at.bofh.it> (permalink) |
| References | <s9iQp-3TB-3@gated-at.bofh.it> <s7rEt-6bL-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/dma/qoriq-qdma.c:879: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
CC: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
qoriq-qdma.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/dma/qoriq-qdma.c
+++ b/drivers/dma/qoriq-qdma.c
@@ -876,7 +876,6 @@ MODULE_DEVICE_TABLE(of, fsl_qdma_dt_ids)
static struct platform_driver fsl_qdma_driver = {
.driver = {
.name = "fsl-qdma",
- .owner = THIS_MODULE,
.of_match_table = fsl_qdma_dt_ids,
},
.probe = fsl_qdma_probe,
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v1 1/5] dma: Add QorIQ qDMA engine driver support kbuild test robot <lkp@intel.com> - 2016-08-23 14:20 +0200 [PATCH] dma: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-08-23 14:20 +0200
csiph-web