From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:04 +0000 (+0200) Subject: net: ethernet: apple: drop owner assignment from platform_drivers X-Git-Tag: firefly_0821_release~176^2~2677^2~25^2~158 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69ddb8a2c8032cfdcaa47007e7c5a86c51402708;p=firefly-linux-kernel-4.4.55.git net: ethernet: apple: 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/apple/macmace.c b/drivers/net/ethernet/apple/macmace.c index 58a200df4c35..6e66127e6abf 100644 --- a/drivers/net/ethernet/apple/macmace.c +++ b/drivers/net/ethernet/apple/macmace.c @@ -768,7 +768,6 @@ static struct platform_driver mac_mace_driver = { .remove = mac_mace_device_remove, .driver = { .name = mac_mace_string, - .owner = THIS_MODULE, }, };