[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190620145926.122597-1-yuehaibing@huawei.com>
Date: Thu, 20 Jun 2019 14:59:26 +0000
From: YueHaibing <yuehaibing@...wei.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<Matt.Sickler@...tronics.com>, <bnvandana@...il.com>,
<valerio.click@...il.com>, <manwatkar@...look.com>,
<simon@...anor.nu>
CC: YueHaibing <yuehaibing@...wei.com>, <devel@...verdev.osuosl.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: [PATCH -next] Staging: kpc2000: kpc_dma: Fix platform_no_drv_owner.cocci warnings
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@...wei.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,
},
};
Powered by blists - more mailing lists