From: Fengguang Wu Date: Fri, 30 Jan 2015 02:26:10 +0000 (-0300) Subject: [media] media: platform: fix platform_no_drv_owner.cocci warnings X-Git-Tag: v4.0-rc1~130^2~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93d8db803a6477d3b075b971b10c2bb3ef164a44;p=platform%2Fkernel%2Flinux-exynos.git [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 --- diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c index 349bd06..56a5cb0 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), },