mirror of https://gitee.com/openkylin/linux.git
net: ethernet: faraday: 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
46c68a5717
commit
d6cc5c2622
|
@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = {
|
|||
.remove = __exit_p(ftgmac100_remove),
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = {
|
|||
.remove = __exit_p(ftmac100_remove),
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue