aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:06 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:06 -0400
commit46c68a571703f18b41c28d7305486d9c763cba9b (patch)
tree99392aa4bd358df700c56a276aa43463e238d2fd
parentbfe68b1423afc27cbc41733799ab170b6a876fa8 (diff)
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);
1749static struct platform_driver dm9000_driver = { 1749static struct platform_driver dm9000_driver = {
1750 .driver = { 1750 .driver = {
1751 .name = "dm9000", 1751 .name = "dm9000",
1752 .owner = THIS_MODULE,
1753 .pm = &dm9000_drv_pm_ops, 1752 .pm = &dm9000_drv_pm_ops,
1754 .of_match_table = of_match_ptr(dm9000_of_matches), 1753 .of_match_table = of_match_ptr(dm9000_of_matches),
1755 }, 1754 },