summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:11 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:11 +0200
commitfb5b11f6ce8016ffe3d1eaadb387d01f7fefc297 (patch)
treed4254090acc1ccbefd55b553d86984f68f3586eb /drivers/net
parente590dead91f12b56da7c5711429482acef8697f1 (diff)
net: ethernet: octeon: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/octeon/octeon_mgmt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/octeon/octeon_mgmt.c b/drivers/net/ethernet/octeon/octeon_mgmt.c
index a42293092ea..d36599f47af 100644
--- a/drivers/net/ethernet/octeon/octeon_mgmt.c
+++ b/drivers/net/ethernet/octeon/octeon_mgmt.c
@@ -1568,7 +1568,6 @@ MODULE_DEVICE_TABLE(of, octeon_mgmt_match);
static struct platform_driver octeon_mgmt_driver = {
.driver = {
.name = "octeon_mgmt",
- .owner = THIS_MODULE,
.of_match_table = octeon_mgmt_match,
},
.probe = octeon_mgmt_probe,