Skip to content

Commit

Permalink
media: platform: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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: 50e7615 ("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>
  • Loading branch information
kbuild test robot authored and Mauro Carvalho Chehab committed Nov 23, 2018
1 parent 87c6f1b commit b12c7af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/media/sunxi/cedrus/cedrus.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ static struct platform_driver cedrus_driver = {
.remove = cedrus_remove,
.driver = {
.name = CEDRUS_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(cedrus_dt_match),
},
};
Expand Down

0 comments on commit b12c7af

Please sign in to comment.