summaryrefslogtreecommitdiff
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
parentbd0e5d5a7eae99fc2abff756e4ad19825bf41c03 (diff)
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>
-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,
},
};