diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2014-09-08 09:28:19 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 11:59:14 -0700 |
commit | c9104b04fe708ec4ac7452eef7ccdedfd22eff25 (patch) | |
tree | 6bd14b6fc374a4fb584aa50d8366a8031857ff5d /drivers/net/ethernet/ti/davinci_mdio.c | |
parent | e403aded79a1bfb610adc53490ded8d2058f9daf (diff) |
ethernet: ti: remove unwanted THIS_MODULE macro
It removes the owner field updation of driver structure.
It will be automatically updated by module_platform_driver()
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_mdio.c')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_mdio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 2791f6f2db11..98655b44b97e 100644 --- a/drivers/net/ethernet/ti/davinci_mdio.c +++ b/drivers/net/ethernet/ti/davinci_mdio.c @@ -481,7 +481,6 @@ MODULE_DEVICE_TABLE(of, davinci_mdio_of_mtable); static struct platform_driver davinci_mdio_driver = { .driver = { .name = "davinci_mdio", - .owner = THIS_MODULE, .pm = &davinci_mdio_pm_ops, .of_match_table = of_match_ptr(davinci_mdio_of_mtable), }, |