aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-bcm-unimac.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-bcm-unimac.c
parentnet: irda: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-9aec7aeced5ae5a22a0702794b061d34723d79e1.tar.xz
linux-dev-9aec7aeced5ae5a22a0702794b061d34723d79e1.zip
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-bcm-unimac.c')
-rw-r--r--drivers/net/phy/mdio-bcm-unimac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c
index 5b643e588e8f..6deac6d32f57 100644
--- a/drivers/net/phy/mdio-bcm-unimac.c
+++ b/drivers/net/phy/mdio-bcm-unimac.c
@@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = {
static struct platform_driver unimac_mdio_driver = {
.driver = {
.name = "unimac-mdio",
- .owner = THIS_MODULE,
.of_match_table = unimac_mdio_ids,
},
.probe = unimac_mdio_probe,