summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:06 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:06 +0200
commit46c68a571703f18b41c28d7305486d9c763cba9b (patch)
tree99392aa4bd358df700c56a276aa43463e238d2fd
parentnet: ethernet: cirrus: drop owner assignment from platform_drivers (diff)
downloadlinux-46c68a571703f18b41c28d7305486d9c763cba9b.tar.xz
linux-46c68a571703f18b41c28d7305486d9c763cba9b.zip
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 f3ba840cbf7b..ef0bb58750e6 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),
},