mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
net: ethernet: davicom: 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
bfe68b1423
commit
46c68a5717
@ -1749,7 +1749,6 @@ MODULE_DEVICE_TABLE(of, dm9000_of_matches);
|
||||
static struct platform_driver dm9000_driver = {
|
||||
.driver = {
|
||||
.name = "dm9000",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &dm9000_drv_pm_ops,
|
||||
.of_match_table = of_match_ptr(dm9000_of_matches),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user