From f76fb34a25965f0a5d9cee9f6c5ecc4f96928dc4 Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Thu, 27 Oct 2016 20:34:37 -0200 Subject: [PATCH] [media] media: fix platform_no_drv_owner.cocci warnings drivers/media/platform/mtk-mdp/mtk_mdp_core.c:284: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: Minghsiu Tsai Signed-off-by: Fengguang Wu Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c index 53296e22a024..51f2b50e406f 100644 --- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c @@ -282,7 +282,6 @@ static struct platform_driver mtk_mdp_driver = { .remove = mtk_mdp_remove, .driver = { .name = MTK_MDP_MODULE_NAME, - .owner = THIS_MODULE, .pm = &mtk_mdp_pm_ops, .of_match_table = mtk_mdp_of_ids, }