mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
bd0e5d5a7e
commit
bb1f110785
|
@ -405,7 +405,6 @@ static struct platform_driver ieee802154fake_driver = {
|
|||
.remove = ieee802154fake_remove,
|
||||
.driver = {
|
||||
.name = "ieee802154hardmac",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -272,7 +272,6 @@ static struct platform_driver ieee802154fake_driver = {
|
|||
.remove = fakelb_remove,
|
||||
.driver = {
|
||||
.name = "ieee802154fakelb",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue