Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385148

[PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings
Date 2016-04-22 15:10 +0200
Message-ID <rqJ0n-2pv-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

base:   git://linuxtv.org/media_tree.git master

 mtk_vpu.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/platform/mtk-vpu/mtk_vpu.c
+++ b/drivers/media/platform/mtk-vpu/mtk_vpu.c
@@ -939,7 +939,6 @@ static struct platform_driver mtk_vpu_dr
 	.remove	= mtk_vpu_remove,
 	.driver	= {
 		.name	= "mtk_vpu",
-		.owner	= THIS_MODULE,
 		.of_match_table = mtk_vpu_match,
 	},
 };

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings  Julia Lawall <julia.lawall@lip6.fr> - 2016-04-22 15:10 +0200
  Re: [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings andrew-ct chen <andrew-ct.chen@mediatek.com> - 2016-04-25 14:50 +0200

csiph-web