summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 14:21:06 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 14:21:06 (GMT)
commit46c68a571703f18b41c28d7305486d9c763cba9b (patch)
tree99392aa4bd358df700c56a276aa43463e238d2fd
parentbfe68b1423afc27cbc41733799ab170b6a876fa8 (diff)
downloadlinux-46c68a571703f18b41c28d7305486d9c763cba9b.tar.xz
net: ethernet: davicom: 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>
-rw-r--r--drivers/net/ethernet/davicom/dm9000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index f3ba840..ef0bb58 100644
--- a/drivers/net/ethernet/davicom/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
@@ -1749,7 +1749,6 @@ MODULE_DEVICE_TABLE(of, dm9000_of_matches);
static struct platform_driver dm9000_driver = {
.driver = {
.name = "dm9000",
- .owner = THIS_MODULE,
.pm = &dm9000_drv_pm_ops,
.of_match_table = of_match_ptr(dm9000_of_matches),
},