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 = {
|
static struct platform_driver dm9000_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "dm9000",
|
.name = "dm9000",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &dm9000_drv_pm_ops,
|
.pm = &dm9000_drv_pm_ops,
|
||||||
.of_match_table = of_match_ptr(dm9000_of_matches),
|
.of_match_table = of_match_ptr(dm9000_of_matches),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue