summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2017-03-08 17:57:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-22 11:37:07 -0300
commitc7423b72639e51ab83ed0dd268b65b6fdde07496 (patch)
tree38bb7c61979eccbb0e63ec7b9c20734f3dd9166d /drivers/media/platform
parent73a0159920359d84e2f93d7e93f3e86900365ba4 (diff)
[media] vcodec: mediatek: fix platform_no_drv_owner.cocci warnings
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1296: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: Rick Chang <rick.chang@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')
-rw-r--r--drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
index f9bd58ce7d32..68da53133d30 100644
--- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
+++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c
@@ -1294,7 +1294,6 @@ static struct platform_driver mtk_jpeg_driver = {
.probe = mtk_jpeg_probe,
.remove = mtk_jpeg_remove,
.driver = {
- .owner = THIS_MODULE,
.name = MTK_JPEG_NAME,
.of_match_table = mtk_jpeg_match,
.pm = &mtk_jpeg_pm_ops,