summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:14 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:14 +0200
commitbb1f1107858c1cb3cbb870852f54a0169cb2c360 (patch)
treeaf651be8ffbe98a65d4b133732612e6e0eccd8cb /drivers/net
parentnet: ethernet: wiznet: drop owner assignment from platform_drivers (diff)
downloadlinux-bb1f1107858c1cb3cbb870852f54a0169cb2c360.tar.xz
linux-bb1f1107858c1cb3cbb870852f54a0169cb2c360.zip
net: ieee802154: 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/ieee802154/fakehard.c1
-rw-r--r--drivers/net/ieee802154/fakelb.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ieee802154/fakehard.c b/drivers/net/ieee802154/fakehard.c
index 9ce854f43917..3db412b4465e 100644
--- a/drivers/net/ieee802154/fakehard.c
+++ b/drivers/net/ieee802154/fakehard.c
@@ -405,7 +405,6 @@ static struct platform_driver ieee802154fake_driver = {
.remove = ieee802154fake_remove,
.driver = {
.name = "ieee802154hardmac",
- .owner = THIS_MODULE,
},
};
diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c
index 27d83207d24c..c1397cddd1b8 100644
--- a/drivers/net/ieee802154/fakelb.c
+++ b/drivers/net/ieee802154/fakelb.c
@@ -272,7 +272,6 @@ static struct platform_driver ieee802154fake_driver = {
.remove = fakelb_remove,
.driver = {
.name = "ieee802154fakelb",
- .owner = THIS_MODULE,
},
};