summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/adi/bfin_mac.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:03 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:03 +0400
commit5a21758d26e027b03efde2c4fbabdd3ae17fa6d1 (patch)
tree0f6f5c053e9c3b7cb643dc61b0313c9bc5a8a2a0 /drivers/net/ethernet/adi/bfin_mac.c
parent078d665616ece61c2bfb55a67d2ea758888f8bae (diff)
downloadlinux-5a21758d26e027b03efde2c4fbabdd3ae17fa6d1.tar.xz
net: ethernet: adi: 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/ethernet/adi/bfin_mac.c')
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 8ed4d3408ef6..ec20611e9de2 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = {
.remove = bfin_mii_bus_remove,
.driver = {
.name = "bfin_mii_bus",
- .owner = THIS_MODULE,
},
};
@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = {
.suspend = bfin_mac_suspend,
.driver = {
.name = KBUILD_MODNAME,
- .owner = THIS_MODULE,
},
};