mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [media] media: fix platform_no_drv_owner.cocci warnings
       [not found] <201610280623.yEQ4DZSc%fengguang.wu@intel.com>
@ 2016-10-27 22:34 ` kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-10-27 22:34 UTC (permalink / raw)
  To: Minghsiu Tsai
  Cc: kbuild-all, Mauro Carvalho Chehab, linux-media, Hans Verkuil,
	Matthias Brugger, linux-arm-kernel, linux-mediatek, linux-kernel

drivers/media/platform/mtk-mdp/mtk_mdp_core.c:284: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: Minghsiu Tsai <minghsiu.tsai@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c
+++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c
@@ -281,7 +281,6 @@ static struct platform_driver mtk_mdp_dr
 	.remove		= mtk_mdp_remove,
 	.driver = {
 		.name	= MTK_MDP_MODULE_NAME,
-		.owner	= THIS_MODULE,
 		.pm	= &mtk_mdp_pm_ops,
 		.of_match_table = mtk_mdp_of_ids,
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-27 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201610280623.yEQ4DZSc%fengguang.wu@intel.com>
2016-10-27 22:34 ` [PATCH] [media] media: fix platform_no_drv_owner.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®