OSDN Git Service

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

index 8f9e3fb..af24294 100644 (file)
@@ -877,7 +877,6 @@ static struct platform_driver cvm_oct_driver = {
        .probe          = cvm_oct_probe,
        .remove         = cvm_oct_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = KBUILD_MODNAME,
                .of_match_table = cvm_oct_match,
        },