media: platform: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 6 Nov 2018 11:33:19 +0000 (06:33 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 10:42:13 +0000 (05:42 -0500)
commitb12c7afc10b01297949ef2cbc72385576169c9ed
treef584739de803c25b77dc753d119fa40291aad3b0
parent87c6f1b57f61e83392dcb6b2e4398d444e83c7c8
media: platform: fix platform_no_drv_owner.cocci warnings

drivers/staging/media/sunxi/cedrus/cedrus.c:421: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

Fixes: 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver")
CC: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus.c