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

index 68c5260cc32235f9012125143bc19c94580decd7..a191afc23b56c72bbdc6bf3379b646ba2ec72fdf 100644 (file)
@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = {
        .remove         = rhine_remove_one_platform,
        .driver = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = rhine_of_tbl,
                .pm             = RHINE_PM_OPS,
        }
index a43e8492b1ce5a501694b1cc690fbd9d4a805b1a..282f83a63b67a88fec08b2524ced2bbf36fc907a 100644 (file)
@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = {
        .remove         = velocity_platform_remove,
        .driver = {
                .name = "via-velocity",
-               .owner = THIS_MODULE,
                .of_match_table = velocity_of_ids,
                .pm = &velocity_pm_ops,
        },