summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2014-09-08 07:58:19 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 22:59:14 +0400
commitc9104b04fe708ec4ac7452eef7ccdedfd22eff25 (patch)
tree6bd14b6fc374a4fb584aa50d8366a8031857ff5d /drivers/net/ethernet/ti/davinci_emac.c
parente403aded79a1bfb610adc53490ded8d2058f9daf (diff)
downloadlinux-c9104b04fe708ec4ac7452eef7ccdedfd22eff25.tar.xz
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_emac.c')
-rw-r--r--drivers/net/ethernet/ti/davinci_emac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index 35a139e9a833..ea712512c7d1 100644
--- a/drivers/net/ethernet/ti/davinci_emac.c
+++ b/drivers/net/ethernet/ti/davinci_emac.c
@@ -2083,7 +2083,6 @@ MODULE_DEVICE_TABLE(of, davinci_emac_of_match);
static struct platform_driver davinci_emac_driver = {
.driver = {
.name = "davinci_emac",
- .owner = THIS_MODULE,
.pm = &davinci_emac_pm_ops,
.of_match_table = of_match_ptr(davinci_emac_of_match),
},