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

index 58a200df4c35ad4745125260db3d38a5ccb381b1..6e66127e6abf5a5a17a877ba315b058e25bdd865 100644 (file)
@@ -768,7 +768,6 @@ static struct platform_driver mac_mace_driver = {
        .remove = mac_mace_device_remove,
        .driver = {
                .name   = mac_mace_string,
-               .owner  = THIS_MODULE,
        },
 };