From 35697a0d99e142b795f34f183df859387068a72a Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Fri, 8 Jul 2016 20:22:25 -0300 Subject: [PATCH] [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 1 - 1 file changed, 1 deletion(-) 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 9c10cc2..60b0bde 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, }, }; -- 2.7.4