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
commitfe6a12d1b2bc6aec1ae2d624a517cd7295733fba (patch)
treea32dc20e90f84ef5198ab34bbdb253cb7f1de483
parent63ad0215e1ad288910e4dcc957fd07ee99864866 (diff)
net: ethernet: cadence: 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/cadence/at91_ether.c1
-rw-r--r--drivers/net/ethernet/cadence/macb.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cadence/at91_ether.c b/drivers/net/ethernet/cadence/at91_ether.c
index 4a24b9a6ad75..55eb7f2af2b4 100644
--- a/drivers/net/ethernet/cadence/at91_ether.c
+++ b/drivers/net/ethernet/cadence/at91_ether.c
@@ -469,7 +469,6 @@ static struct platform_driver at91ether_driver = {
469 .resume = at91ether_resume, 469 .resume = at91ether_resume,
470 .driver = { 470 .driver = {
471 .name = "at91_ether", 471 .name = "at91_ether",
472 .owner = THIS_MODULE,
473 .of_match_table = of_match_ptr(at91ether_dt_ids), 472 .of_match_table = of_match_ptr(at91ether_dt_ids),
474 }, 473 },
475}; 474};
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 4d9fc0509af6..41113e51c704 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -2321,7 +2321,6 @@ static struct platform_driver macb_driver = {
2321 .remove = __exit_p(macb_remove), 2321 .remove = __exit_p(macb_remove),
2322 .driver = { 2322 .driver = {
2323 .name = "macb", 2323 .name = "macb",
2324 .owner = THIS_MODULE,
2325 .of_match_table = of_match_ptr(macb_dt_ids), 2324 .of_match_table = of_match_ptr(macb_dt_ids),
2326 .pm = &macb_pm_ops, 2325 .pm = &macb_pm_ops,
2327 }, 2326 },