Thread (40 messages) 40 messages, 9 authors, 2016-01-14
STALE3789d

[rtc-linux] [PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot <hidden>
Date: 2016-01-07 15:57:45
Also in: linux-devicetree, linux-gpio, lkml

drivers/mfd/max77620.c:900: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: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <redacted>
---

 max77620.c |    1 -
 1 file changed, 1 deletion(-)
--- a/drivers/mfd/max77620.c
+++ b/drivers/mfd/max77620.c
@@ -897,7 +897,6 @@ static const struct dev_pm_ops max77620_
 static struct i2c_driver max77620_driver = {
 	.driver = {
 		.name = "max77620",
-		.owner = THIS_MODULE,
 		.pm = &max77620_pm_ops,
 		.of_match_table = max77620_of_match,
 	},
-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help