Commit b12c7afc authored by kbuild test robot's avatar kbuild test robot Committed by Mauro Carvalho Chehab

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: 50e76151 ("media: platform: Add Cedrus VPU decoder driver")

CC: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: default avatarHans Verkuil <hansverk@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 87c6f1b5
......@@ -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),
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment