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:
Wolfram Sang 2014-10-20 16:21:06 +02:00
parent bfe68b1423
commit 46c68a5717
1 changed files with 0 additions and 1 deletions

View File

@ -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),
}, },