summaryrefslogtreecommitdiff
path: root/drivers/media/platform/am437x
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2015-01-30 05:26:10 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 18:35:49 +0300
commit93d8db803a6477d3b075b971b10c2bb3ef164a44 (patch)
tree32754dd0f31c43415c4254281da3d98597cbbc24 /drivers/media/platform/am437x
parentcaaee5f83291086f5e5003635b77536b18aae5f7 (diff)
downloadlinux-93d8db803a6477d3b075b971b10c2bb3ef164a44.tar.xz
[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: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/am437x')
-rw-r--r--drivers/media/platform/am437x/am437x-vpfe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c
index 349bd060f5a4..56a5cb0d2152 100644
--- a/drivers/media/platform/am437x/am437x-vpfe.c
+++ b/drivers/media/platform/am437x/am437x-vpfe.c
@@ -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),
},