net: ethernet: davicom: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:06 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:06 +0000 (16:21 +0200)
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>
drivers/net/ethernet/davicom/dm9000.c

index f3ba840cbf7b065fa4b73828e75d60af20069dbb..ef0bb58750e65b1ff6e67de2d4710c2c48d20302 100644 (file)
@@ -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),
        },
This page took 0.033687 seconds and 5 git commands to generate.