summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ethoc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:02 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:02 +0200
commit224cd4b44cbc14d73b13144d15d514d870d3ebfd (patch)
tree99529d0bdd6ae40f6e36f6e8e832840aa2f17c91 /drivers/net/ethernet/ethoc.c
parent0dc5a27a175b9b90fb8a84846f915d3a9f50dae9 (diff)
downloadlwn-224cd4b44cbc14d73b13144d15d514d870d3ebfd.tar.gz
lwn-224cd4b44cbc14d73b13144d15d514d870d3ebfd.zip
net: ethernet: 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/ethoc.c')
-rw-r--r--drivers/net/ethernet/ethoc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c
index 0bc6c102f3ac..f88cfaa359e7 100644
--- a/drivers/net/ethernet/ethoc.c
+++ b/drivers/net/ethernet/ethoc.c
@@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = {
.resume = ethoc_resume,
.driver = {
.name = "ethoc",
- .owner = THIS_MODULE,
.of_match_table = ethoc_match,
},
};