diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:14 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:14 -0400 |
commit | bb1f1107858c1cb3cbb870852f54a0169cb2c360 (patch) | |
tree | af651be8ffbe98a65d4b133732612e6e0eccd8cb | |
parent | bd0e5d5a7eae99fc2abff756e4ad19825bf41c03 (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.c | 1 | ||||
-rw-r--r-- | drivers/net/ieee802154/fakelb.c | 1 |
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 = { | |||
405 | .remove = ieee802154fake_remove, | 405 | .remove = ieee802154fake_remove, |
406 | .driver = { | 406 | .driver = { |
407 | .name = "ieee802154hardmac", | 407 | .name = "ieee802154hardmac", |
408 | .owner = THIS_MODULE, | ||
409 | }, | 408 | }, |
410 | }; | 409 | }; |
411 | 410 | ||
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 = { | |||
272 | .remove = fakelb_remove, | 272 | .remove = fakelb_remove, |
273 | .driver = { | 273 | .driver = { |
274 | .name = "ieee802154fakelb", | 274 | .name = "ieee802154fakelb", |
275 | .owner = THIS_MODULE, | ||
276 | }, | 275 | }, |
277 | }; | 276 | }; |
278 | 277 | ||