Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1259175 > unrolled thread
| Started by | huangdaode <huangdaode@hisilicon.com> |
|---|---|
| First post | 2015-10-30 03:40 +0100 |
| Last post | 2015-11-01 22:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] net: hisilicon: Remove .owner assignment from platform_driver huangdaode <huangdaode@hisilicon.com> - 2015-10-30 03:40 +0100
Re: [PATCH] net: hisilicon: Remove .owner assignment from platform_driver David Miller <davem@davemloft.net> - 2015-11-01 22:10 +0100
| From | huangdaode <huangdaode@hisilicon.com> |
|---|---|
| Date | 2015-10-30 03:40 +0100 |
| Subject | [PATCH] net: hisilicon: Remove .owner assignment from platform_driver |
| Message-ID | <qp7LI-8qM-19@gated-at.bofh.it> |
platform_driver doesn't need to set .owner, because
platform_driver_register() will set it.
Signed-off-by: huangdaode <huangdaode@hisilicon.com>
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
index 83c02a8..562eff9 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
@@ -1914,7 +1914,6 @@ MODULE_DEVICE_TABLE(of, hns_enet_of_match);
static struct platform_driver hns_nic_dev_driver = {
.driver = {
.name = "hns-nic",
- .owner = THIS_MODULE,
.of_match_table = hns_enet_of_match,
},
.probe = hns_nic_dev_probe,
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2015-11-01 22:10 +0100 |
| Subject | Re: [PATCH] net: hisilicon: Remove .owner assignment from platform_driver |
| Message-ID | <qq82Z-4Xr-13@gated-at.bofh.it> |
| In reply to | #1259175 |
From: huangdaode <huangdaode@hisilicon.com> Date: Fri, 30 Oct 2015 10:50:54 +0800 > platform_driver doesn't need to set .owner, because > platform_driver_register() will set it. > > Signed-off-by: huangdaode <huangdaode@hisilicon.com> Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web