diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2016-07-08 20:22:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 13:28:14 -0300 |
commit | 35697a0d99e142b795f34f183df859387068a72a (patch) | |
tree | 4b1784bc5d32f4e7e99e13f69c68907ed138b25c /drivers/media/platform/mtk-vcodec | |
parent | f04f2d0e3e9137ec33c24daac686629927b3c839 (diff) |
[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>
Diffstat (limited to 'drivers/media/platform/mtk-vcodec')
-rw-r--r-- | drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 1 |
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, }, }; |