summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-bb1f1107858c1cb3cbb870852f54a0169cb2c360.zip
op-kernel-dev-bb1f1107858c1cb3cbb870852f54a0169cb2c360.tar.gz
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 9ce854f..3db412b 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 27d8320..c1397cd 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,
},
};
OpenPOWER on IntegriCloud