netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ehea: Drop owner assignment from platform_driver
@ 2016-02-19 11:22 Amitoj Kaur Chawla
  2016-02-19 11:35 ` Thadeu Lima de Souza Cascardo
  0 siblings, 1 reply; 5+ messages in thread
From: Amitoj Kaur Chawla @ 2016-02-19 11:22 UTC (permalink / raw)
  To: cascardo, netdev, linux-kernel; +Cc: julia.lawall

platform_driver does not need to set an owner, it will be populated by
the driver core.

Generated-by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
 drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c
index 2a0dc12..d4b022f 100644
--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c
+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c
@@ -127,7 +127,6 @@ static const struct of_device_id ehea_device_table[] = {
 static struct platform_driver ehea_driver = {
 	.driver = {
 		.name = "ehea",
-		.owner = THIS_MODULE,
 		.of_match_table = ehea_device_table,
 	},
 	.probe = ehea_probe_adapter,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-19 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-19 11:22 [PATCH] ehea: Drop owner assignment from platform_driver Amitoj Kaur Chawla
2016-02-19 11:35 ` Thadeu Lima de Souza Cascardo
2016-02-19 12:06   ` Julia Lawall
2016-02-19 12:15     ` Thadeu Lima de Souza Cascardo
2016-02-19 13:07   ` Amitoj Kaur Chawla

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).