]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: ethernet: natsemi: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:10 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:10 +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/natsemi/jazzsonic.c
drivers/net/ethernet/natsemi/macsonic.c

index a5512a97cc4d4c53fb1dbca9308509cdd8acb157..acf3f11e38cc1294555c6b7e2193865e7f455f54 100644 (file)
@@ -287,7 +287,6 @@ static struct platform_driver jazz_sonic_driver = {
        .remove = jazz_sonic_device_remove,
        .driver = {
                .name   = jazz_sonic_string,
-               .owner  = THIS_MODULE,
        },
 };
 
index 9e4ddbba70363b8fdedf412b6c830a44f1a0f045..5b2dcb03c29e225667baa98e51af6e795f046acb 100644 (file)
@@ -634,7 +634,6 @@ static struct platform_driver mac_sonic_driver = {
        .remove = mac_sonic_device_remove,
        .driver = {
                .name   = mac_sonic_string,
-               .owner  = THIS_MODULE,
        },
 };