summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpmac.c
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2014-09-08 05:58:19 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-09 20:59:14 +0200
commitc9104b04fe708ec4ac7452eef7ccdedfd22eff25 (patch)
tree6bd14b6fc374a4fb584aa50d8366a8031857ff5d /drivers/net/ethernet/ti/cpmac.c
parentopenvswitch: change the data type of error status to atomic_long_t (diff)
downloadlinux-c9104b04fe708ec4ac7452eef7ccdedfd22eff25.tar.xz
linux-c9104b04fe708ec4ac7452eef7ccdedfd22eff25.zip
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/cpmac.c')
-rw-r--r--drivers/net/ethernet/ti/cpmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c
index f9bcf7aa88ca..dd9430043536 100644
--- a/drivers/net/ethernet/ti/cpmac.c
+++ b/drivers/net/ethernet/ti/cpmac.c
@@ -1207,7 +1207,6 @@ static int cpmac_remove(struct platform_device *pdev)
static struct platform_driver cpmac_driver = {
.driver = {
.name = "cpmac",
- .owner = THIS_MODULE,
},
.probe = cpmac_probe,
.remove = cpmac_remove,