From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:11 +0000 (+0200) Subject: net: ethernet: octeon: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~142 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb5b11f6ce8016ffe3d1eaadb387d01f7fefc297;p=karo-tx-linux.git net: ethernet: octeon: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/net/ethernet/octeon/octeon_mgmt.c b/drivers/net/ethernet/octeon/octeon_mgmt.c index a42293092ea4..d36599f47af5 100644 --- a/drivers/net/ethernet/octeon/octeon_mgmt.c +++ b/drivers/net/ethernet/octeon/octeon_mgmt.c @@ -1568,7 +1568,6 @@ MODULE_DEVICE_TABLE(of, octeon_mgmt_match); static struct platform_driver octeon_mgmt_driver = { .driver = { .name = "octeon_mgmt", - .owner = THIS_MODULE, .of_match_table = octeon_mgmt_match, }, .probe = octeon_mgmt_probe,