summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mtk-mdp
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2016-10-28 01:34:37 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 18:27:19 +0300
commitf76fb34a25965f0a5d9cee9f6c5ecc4f96928dc4 (patch)
tree3e8e8f7af8712bd7999ebc66e7f3b9b8f6d9bfc9 /drivers/media/platform/mtk-mdp
parent55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1 (diff)
downloadlinux-f76fb34a25965f0a5d9cee9f6c5ecc4f96928dc4.tar.xz
[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 <minghsiu.tsai@mediatek.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/mtk-mdp')
-rw-r--r--drivers/media/platform/mtk-mdp/mtk_mdp_core.c1
1 files changed, 0 insertions, 1 deletions
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,
}