From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:04 +0000 (+0200) Subject: net: ethernet: altera: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~160 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0c026c179e83c6229b6744c2373d5c41e3bf606c;p=karo-tx-linux.git net: ethernet: altera: 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/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c index 4efc4355d345..3498760dc22a 100644 --- a/drivers/net/ethernet/altera/altera_tse_main.c +++ b/drivers/net/ethernet/altera/altera_tse_main.c @@ -1587,7 +1587,6 @@ static struct platform_driver altera_tse_driver = { .resume = NULL, .driver = { .name = ALTERA_TSE_RESOURCE_NAME, - .owner = THIS_MODULE, .of_match_table = altera_tse_ids, }, };