From 93d8db803a6477d3b075b971b10c2bb3ef164a44 Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Thu, 29 Jan 2015 23:26:10 -0300 Subject: [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings drivers/media/platform/am437x/am437x-vpfe.c:2767: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: Benoit Parrot Signed-off-by: Fengguang Wu Acked-by: Lad, Prabhakar Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/am437x/am437x-vpfe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c index 349bd060f5a4..56a5cb0d2152 100644 --- a/drivers/media/platform/am437x/am437x-vpfe.c +++ b/drivers/media/platform/am437x/am437x-vpfe.c @@ -2763,7 +2763,6 @@ static struct platform_driver vpfe_driver = { .remove = vpfe_remove, .driver = { .name = VPFE_MODULE_NAME, - .owner = THIS_MODULE, .pm = &vpfe_pm_ops, .of_match_table = of_match_ptr(vpfe_of_match), }, -- 2.20.1