* [PATCH -next] Staging: kpc2000: kpc_dma: Fix platform_no_drv_owner.cocci warnings
@ 2019-06-20 14:59 YueHaibing
0 siblings, 0 replies; only message in thread
From: YueHaibing @ 2019-06-20 14:59 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matt.Sickler, bnvandana, valerio.click,
manwatkar, simon
Cc: devel, kernel-janitors, YueHaibing, linux-kernel
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
index 08af269adabe..a05ae6d40db9 100644
--- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
+++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
@@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_plat_driver_i = {
.remove = kpc_dma_remove,
.driver = {
.name = KP_DRIVER_NAME_DMA_CONTROLLER,
- .owner = THIS_MODULE,
},
};
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-20 14:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-20 14:59 [PATCH -next] Staging: kpc2000: kpc_dma: Fix platform_no_drv_owner.cocci warnings YueHaibing
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).