From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:06 +0000 (+0200) Subject: net: ethernet: davicom: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~153 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46c68a571703f18b41c28d7305486d9c763cba9b;p=karo-tx-linux.git net: ethernet: davicom: 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/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c index f3ba840cbf7b..ef0bb58750e6 100644 --- a/drivers/net/ethernet/davicom/dm9000.c +++ b/drivers/net/ethernet/davicom/dm9000.c @@ -1749,7 +1749,6 @@ MODULE_DEVICE_TABLE(of, dm9000_of_matches); static struct platform_driver dm9000_driver = { .driver = { .name = "dm9000", - .owner = THIS_MODULE, .pm = &dm9000_drv_pm_ops, .of_match_table = of_match_ptr(dm9000_of_matches), },