Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35697a0d authored by Fengguang Wu's avatar Fengguang Wu Committed by Mauro Carvalho Chehab
Browse files

[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: 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 f04f2d0e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
	},
};