diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:14 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:14 -0400 |
commit | 5e0b25165749a32616f30fbf5870507d5d765b89 (patch) | |
tree | da31b626ad793cc568b091e55a56b9fc3bd761c5 | |
parent | 671ebaf7259fd590346a560ac43acc49933dabf6 (diff) |
net: ethernet: via: 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/via/via-rhine.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/via/via-velocity.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index 68c5260cc322..a191afc23b56 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c | |||
@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = { | |||
2508 | .remove = rhine_remove_one_platform, | 2508 | .remove = rhine_remove_one_platform, |
2509 | .driver = { | 2509 | .driver = { |
2510 | .name = DRV_NAME, | 2510 | .name = DRV_NAME, |
2511 | .owner = THIS_MODULE, | ||
2512 | .of_match_table = rhine_of_tbl, | 2511 | .of_match_table = rhine_of_tbl, |
2513 | .pm = RHINE_PM_OPS, | 2512 | .pm = RHINE_PM_OPS, |
2514 | } | 2513 | } |
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c index a43e8492b1ce..282f83a63b67 100644 --- a/drivers/net/ethernet/via/via-velocity.c +++ b/drivers/net/ethernet/via/via-velocity.c | |||
@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = { | |||
3281 | .remove = velocity_platform_remove, | 3281 | .remove = velocity_platform_remove, |
3282 | .driver = { | 3282 | .driver = { |
3283 | .name = "via-velocity", | 3283 | .name = "via-velocity", |
3284 | .owner = THIS_MODULE, | ||
3285 | .of_match_table = velocity_of_ids, | 3284 | .of_match_table = velocity_of_ids, |
3286 | .pm = &velocity_pm_ops, | 3285 | .pm = &velocity_pm_ops, |
3287 | }, | 3286 | }, |