aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:11 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:11 -0400
commitfb5b11f6ce8016ffe3d1eaadb387d01f7fefc297 (patch)
treed4254090acc1ccbefd55b553d86984f68f3586eb
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>
-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 a42293092ea4..d36599f47af5 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);
1568static struct platform_driver octeon_mgmt_driver = { 1568static struct platform_driver octeon_mgmt_driver = {
1569 .driver = { 1569 .driver = {
1570 .name = "octeon_mgmt", 1570 .name = "octeon_mgmt",
1571 .owner = THIS_MODULE,
1572 .of_match_table = octeon_mgmt_match, 1571 .of_match_table = octeon_mgmt_match,
1573 }, 1572 },
1574 .probe = octeon_mgmt_probe, 1573 .probe = octeon_mgmt_probe,