summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-octeon.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:15 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:15 +0200
commit9aec7aeced5ae5a22a0702794b061d34723d79e1 (patch)
treec3169a5a6b21f95573c761b8755e4aeddbdfc3fb /drivers/net/phy/mdio-octeon.c
parent3f00302fbaf4a561d89a0c030fab6151b0f233ca (diff)
downloadop-kernel-dev-9aec7aeced5ae5a22a0702794b061d34723d79e1.zip
op-kernel-dev-9aec7aeced5ae5a22a0702794b061d34723d79e1.tar.gz
net: phy: 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/phy/mdio-octeon.c')
-rw-r--r--drivers/net/phy/mdio-octeon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-octeon.c b/drivers/net/phy/mdio-octeon.c
index a51ed92..c810524 100644
--- a/drivers/net/phy/mdio-octeon.c
+++ b/drivers/net/phy/mdio-octeon.c
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match);
static struct platform_driver octeon_mdiobus_driver = {
.driver = {
.name = "mdio-octeon",
- .owner = THIS_MODULE,
.of_match_table = octeon_mdiobus_match,
},
.probe = octeon_mdiobus_probe,
OpenPOWER on IntegriCloud