summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/smsc/smc91x.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:12 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:12 +0200
commit6577f97d476f5ca5cfc38219d9dce881579ae1b5 (patch)
tree41237078e11987e4e74b956888c1c446d0c9040a /drivers/net/ethernet/smsc/smc91x.c
parent5a8078bebd3805d1150642c67440cc510e686f52 (diff)
downloadlwn-6577f97d476f5ca5cfc38219d9dce881579ae1b5.tar.gz
lwn-6577f97d476f5ca5cfc38219d9dce881579ae1b5.zip
net: ethernet: smsc: 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 <wsa@the-dreams.de>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc91x.c')
-rw-r--r--drivers/net/ethernet/smsc/smc91x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c
index 5e94d00b96b3..a2649c81a393 100644
--- a/drivers/net/ethernet/smsc/smc91x.c
+++ b/drivers/net/ethernet/smsc/smc91x.c
@@ -2410,7 +2410,6 @@ static struct platform_driver smc_driver = {
.remove = smc_drv_remove,
.driver = {
.name = CARDNAME,
- .owner = THIS_MODULE,
.pm = &smc_drv_pm_ops,
.of_match_table = of_match_ptr(smc91x_match),
},