diff options
author | 2016-07-08 20:22:25 -0300 | |
---|---|---|
committer | 2016-07-12 13:28:14 -0300 | |
commit | 35697a0d99e142b795f34f183df859387068a72a (patch) | |
tree | 4b1784bc5d32f4e7e99e13f69c68907ed138b25c /drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | |
parent | [media] v4l2-subdev.h: remove the control subdev ops (diff) | |
download | linux-35697a0d99e142b795f34f183df859387068a72a.tar.gz linux-35697a0d99e142b795f34f183df859387068a72a.tar.bz2 linux-35697a0d99e142b795f34f183df859387068a72a.zip |
[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/mtk_vcodec_enc_drv.c')
-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, }, }; |