From mboxrd@z Thu Jan 1 00:00:00 1970 From: julia.lawall@lip6.fr (Julia Lawall) Date: Wed, 27 Jul 2016 16:41:16 +0200 (CEST) Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- xilinx_dpdma.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/xilinx/xilinx_dpdma.c +++ b/drivers/dma/xilinx/xilinx_dpdma.c @@ -1944,7 +1944,6 @@ static struct platform_driver xilinx_dpd .remove = xilinx_dpdma_remove, .driver = { .name = "xilinx-dpdma", - .owner = THIS_MODULE, .of_match_table = xilinx_dpdma_of_match, }, };