* [PATCH] leds: fix platform_no_drv_owner.cocci warnings
[not found] <201504291015.yVl4AoD5%fengguang.wu@intel.com>
@ 2015-04-29 2:23 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-04-29 2:23 UTC (permalink / raw)
To: Jacek Anaszewski
Cc: kbuild-all, Bryan Wu, Andrzej Hajda, Richard Purdie, linux-leds,
linux-kernel
drivers/leds/leds-max77693.c:978: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: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
leds-max77693.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/leds/leds-max77693.c
+++ b/drivers/leds/leds-max77693.c
@@ -975,7 +975,6 @@ static struct platform_driver max77693_l
.remove = max77693_led_remove,
.driver = {
.name = "max77693-led",
- .owner = THIS_MODULE,
.of_match_table = max77693_led_dt_match,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] leds: fix platform_no_drv_owner.cocci warnings
[not found] <201504291045.wLiGFH3V%fengguang.wu@intel.com>
@ 2015-04-29 2:30 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-04-29 2:30 UTC (permalink / raw)
To: Jacek Anaszewski
Cc: kbuild-all, Bryan Wu, Richard Purdie, linux-leds, linux-kernel
drivers/leds/leds-aat1290.c:443: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: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
leds-aat1290.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/leds/leds-aat1290.c
+++ b/drivers/leds/leds-aat1290.c
@@ -440,7 +440,6 @@ static struct platform_driver aat1290_le
.remove = aat1290_led_remove,
.driver = {
.name = "aat1290",
- .owner = THIS_MODULE,
.of_match_table = aat1290_led_dt_match,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-29 2:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201504291015.yVl4AoD5%fengguang.wu@intel.com>
2015-04-29 2:23 ` [PATCH] leds: fix platform_no_drv_owner.cocci warnings kbuild test robot
[not found] <201504291045.wLiGFH3V%fengguang.wu@intel.com>
2015-04-29 2:30 ` 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).