* [PATCH] of: fix platform_no_drv_owner.cocci warnings
[not found] ` <201507280341.a0ke59o4%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2015-07-27 19:37 ` kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-07-27 19:37 UTC (permalink / raw)
To: Rob Herring
Cc: kbuild-all-JC7UmRfGjtg, Grant Likely,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
drivers/of/unittest.c:982: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
Signed-off-by: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
unittest.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/of/unittest.c
+++ b/drivers/of/unittest.c
@@ -979,7 +979,6 @@ static struct platform_driver unittest_d
.remove = unittest_remove,
.driver = {
.name = "unittest",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(unittest_match),
},
};
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-27 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201507280341.a0ke59o4%fengguang.wu@intel.com>
[not found] ` <201507280341.a0ke59o4%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-07-27 19:37 ` [PATCH] of: 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;
as well as URLs for NNTP newsgroup(s).