From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:11 +0000 (+0200) Subject: net: ethernet: samsung: sxgbe: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~141 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6afa02fbf992620edbf6b1ef87d879cf45056094;p=karo-tx-linux.git net: ethernet: samsung: sxgbe: 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/samsung/sxgbe/sxgbe_platform.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c index b147d469a799..b37db0b0da72 100644 --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c @@ -236,7 +236,6 @@ static struct platform_driver sxgbe_platform_driver = { .remove = sxgbe_platform_remove, .driver = { .name = SXGBE_RESOURCE_NAME, - .owner = THIS_MODULE, .pm = &sxgbe_platform_pm_ops, .of_match_table = of_match_ptr(sxgbe_dt_ids), },