mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] of: fix platform_no_drv_owner.cocci warnings
       [not found] <201507280341.a0ke59o4%fengguang.wu@intel.com>
@ 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, Grant Likely, devicetree, linux-kernel

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@intel.com>
---

 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),
 	},
 };

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

only message in thread, other threads:[~2015-07-27 19:38 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>
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

all inboxes | Powered by JetHome®