[media] media: fix platform_no_drv_owner.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 27 Oct 2016 22:34:37 +0000 (20:34 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 15:27:19 +0000 (13:27 -0200)
commitf76fb34a25965f0a5d9cee9f6c5ecc4f96928dc4
tree3e8e8f7af8712bd7999ebc66e7f3b9b8f6d9bfc9
parent55d80506c5f7c3a44bad4a2bedeb3cc8235a69a1
[media] media: fix platform_no_drv_owner.cocci warnings

drivers/media/platform/mtk-mdp/mtk_mdp_core.c:284: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

CC: Minghsiu Tsai <minghsiu.tsai@mediatek.com>
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>
drivers/media/platform/mtk-mdp/mtk_mdp_core.c