From mboxrd@z Thu Jan 1 00:00:00 1970 From: lkp@intel.com (kbuild test robot) Date: Sat, 12 Mar 2016 00:45:43 +0800 Subject: [PATCH] drm: fix platform_no_drv_owner.cocci warnings In-Reply-To: <1457710959-9562-2-git-send-email-abrodkin@synopsys.com> References: <201603120053.Dr2iFD2z%fengguang.wu@intel.com> List-ID: Message-ID: <20160311164542.GA94290@lkp-ib04> To: linux-snps-arc@lists.infradead.org drivers/gpu/drm/arc/arcpgu_drv.c:243:6-11: 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: Alexey Brodkin Signed-off-by: Fengguang Wu --- arcpgu_drv.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -240,7 +240,6 @@ static struct platform_driver arcpgu_pla .remove = arcpgu_remove, .driver = { .name = "arcpgu", - .owner = THIS_MODULE, .of_match_table = arcpgu_of_table, }, };