summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2016-07-09 02:22:25 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-12 19:28:14 +0300
commit35697a0d99e142b795f34f183df859387068a72a (patch)
tree4b1784bc5d32f4e7e99e13f69c68907ed138b25c
parentf04f2d0e3e9137ec33c24daac686629927b3c839 (diff)
downloadlinux-35697a0d99e142b795f34f183df859387068a72a.tar.xz
[media] mtk-vcodec: fix platform_no_drv_owner.cocci warnings
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c:433: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 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>
-rw-r--r--drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
index 9c10cc24a5b1..60b0bde232f4 100644
--- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
+++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
@@ -430,7 +430,6 @@ static struct platform_driver mtk_vcodec_enc_driver = {
.remove = mtk_vcodec_enc_remove,
.driver = {
.name = MTK_VCODEC_ENC_NAME,
- .owner = THIS_MODULE,
.of_match_table = mtk_vcodec_enc_match,
},
};