Commit c7423b72 authored by Fengguang Wu's avatar Fengguang Wu Committed by Mauro Carvalho Chehab

[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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 73a01599
...@@ -1294,7 +1294,6 @@ static struct platform_driver mtk_jpeg_driver = { ...@@ -1294,7 +1294,6 @@ static struct platform_driver mtk_jpeg_driver = {
.probe = mtk_jpeg_probe, .probe = mtk_jpeg_probe,
.remove = mtk_jpeg_remove, .remove = mtk_jpeg_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = MTK_JPEG_NAME, .name = MTK_JPEG_NAME,
.of_match_table = mtk_jpeg_match, .of_match_table = mtk_jpeg_match,
.pm = &mtk_jpeg_pm_ops, .pm = &mtk_jpeg_pm_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment