diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:07 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:07 -0400 |
commit | a057351e1e333c4753384be880518efee363e664 (patch) | |
tree | 9d0e1c666638fb30d43c9179978058d0dc84e581 | |
parent | d6cc5c262205e1295b7d7f04f11957b206fec636 (diff) |
net: ethernet: freescale: 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/freescale/fec_main.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fec_mpc52xx.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fsl_pq_mdio.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar_ptp.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 81b96cf87574..ac6481015959 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -3395,7 +3395,6 @@ static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume); | |||
3395 | static struct platform_driver fec_driver = { | 3395 | static struct platform_driver fec_driver = { |
3396 | .driver = { | 3396 | .driver = { |
3397 | .name = DRIVER_NAME, | 3397 | .name = DRIVER_NAME, |
3398 | .owner = THIS_MODULE, | ||
3399 | .pm = &fec_pm_ops, | 3398 | .pm = &fec_pm_ops, |
3400 | .of_match_table = fec_dt_ids, | 3399 | .of_match_table = fec_dt_ids, |
3401 | }, | 3400 | }, |
diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx.c b/drivers/net/ethernet/freescale/fec_mpc52xx.c index ff55fbb20a75..f495796248db 100644 --- a/drivers/net/ethernet/freescale/fec_mpc52xx.c +++ b/drivers/net/ethernet/freescale/fec_mpc52xx.c | |||
@@ -1069,7 +1069,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_fec_match); | |||
1069 | static struct platform_driver mpc52xx_fec_driver = { | 1069 | static struct platform_driver mpc52xx_fec_driver = { |
1070 | .driver = { | 1070 | .driver = { |
1071 | .name = DRIVER_NAME, | 1071 | .name = DRIVER_NAME, |
1072 | .owner = THIS_MODULE, | ||
1073 | .of_match_table = mpc52xx_fec_match, | 1072 | .of_match_table = mpc52xx_fec_match, |
1074 | }, | 1073 | }, |
1075 | .probe = mpc52xx_fec_probe, | 1074 | .probe = mpc52xx_fec_probe, |
diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_mdio.c index 964c6bf37710..d1a91e344e6b 100644 --- a/drivers/net/ethernet/freescale/fsl_pq_mdio.c +++ b/drivers/net/ethernet/freescale/fsl_pq_mdio.c | |||
@@ -488,7 +488,6 @@ static int fsl_pq_mdio_remove(struct platform_device *pdev) | |||
488 | static struct platform_driver fsl_pq_mdio_driver = { | 488 | static struct platform_driver fsl_pq_mdio_driver = { |
489 | .driver = { | 489 | .driver = { |
490 | .name = "fsl-pq_mdio", | 490 | .name = "fsl-pq_mdio", |
491 | .owner = THIS_MODULE, | ||
492 | .of_match_table = fsl_pq_mdio_match, | 491 | .of_match_table = fsl_pq_mdio_match, |
493 | }, | 492 | }, |
494 | .probe = fsl_pq_mdio_probe, | 493 | .probe = fsl_pq_mdio_probe, |
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 4fdf0aa16978..610a4a87e86c 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c | |||
@@ -3472,7 +3472,6 @@ MODULE_DEVICE_TABLE(of, gfar_match); | |||
3472 | static struct platform_driver gfar_driver = { | 3472 | static struct platform_driver gfar_driver = { |
3473 | .driver = { | 3473 | .driver = { |
3474 | .name = "fsl-gianfar", | 3474 | .name = "fsl-gianfar", |
3475 | .owner = THIS_MODULE, | ||
3476 | .pm = GFAR_PM_OPS, | 3475 | .pm = GFAR_PM_OPS, |
3477 | .of_match_table = gfar_match, | 3476 | .of_match_table = gfar_match, |
3478 | }, | 3477 | }, |
diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c index bb568006f37d..16826341a4c9 100644 --- a/drivers/net/ethernet/freescale/gianfar_ptp.c +++ b/drivers/net/ethernet/freescale/gianfar_ptp.c | |||
@@ -563,7 +563,6 @@ static struct platform_driver gianfar_ptp_driver = { | |||
563 | .driver = { | 563 | .driver = { |
564 | .name = "gianfar_ptp", | 564 | .name = "gianfar_ptp", |
565 | .of_match_table = match_table, | 565 | .of_match_table = match_table, |
566 | .owner = THIS_MODULE, | ||
567 | }, | 566 | }, |
568 | .probe = gianfar_ptp_probe, | 567 | .probe = gianfar_ptp_probe, |
569 | .remove = gianfar_ptp_remove, | 568 | .remove = gianfar_ptp_remove, |
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 3cf0478b3728..357e8b576905 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -3943,7 +3943,6 @@ MODULE_DEVICE_TABLE(of, ucc_geth_match); | |||
3943 | static struct platform_driver ucc_geth_driver = { | 3943 | static struct platform_driver ucc_geth_driver = { |
3944 | .driver = { | 3944 | .driver = { |
3945 | .name = DRV_NAME, | 3945 | .name = DRV_NAME, |
3946 | .owner = THIS_MODULE, | ||
3947 | .of_match_table = ucc_geth_match, | 3946 | .of_match_table = ucc_geth_match, |
3948 | }, | 3947 | }, |
3949 | .probe = ucc_geth_probe, | 3948 | .probe = ucc_geth_probe, |