Commit 93d8db80 authored by Fengguang Wu's avatar Fengguang Wu Committed by Mauro Carvalho Chehab

[media] media: platform: fix platform_no_drv_owner.cocci warnings

drivers/media/platform/am437x/am437x-vpfe.c:2767: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: Benoit Parrot <bparrot@ti.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent caaee5f8
......@@ -2763,7 +2763,6 @@ static struct platform_driver vpfe_driver = {
.remove = vpfe_remove,
.driver = {
.name = VPFE_MODULE_NAME,
.owner = THIS_MODULE,
.pm = &vpfe_pm_ops,
.of_match_table = of_match_ptr(vpfe_of_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