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>
This commit is contained in:
parent
d6cc5c2622
commit
a057351e1e
|
@ -3395,7 +3395,6 @@ static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume);
|
|||
static struct platform_driver fec_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &fec_pm_ops,
|
||||
.of_match_table = fec_dt_ids,
|
||||
},
|
||||
|
|
|
@ -1069,7 +1069,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_fec_match);
|
|||
static struct platform_driver mpc52xx_fec_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = mpc52xx_fec_match,
|
||||
},
|
||||
.probe = mpc52xx_fec_probe,
|
||||
|
|
|
@ -488,7 +488,6 @@ static int fsl_pq_mdio_remove(struct platform_device *pdev)
|
|||
static struct platform_driver fsl_pq_mdio_driver = {
|
||||
.driver = {
|
||||
.name = "fsl-pq_mdio",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = fsl_pq_mdio_match,
|
||||
},
|
||||
.probe = fsl_pq_mdio_probe,
|
||||
|
|
|
@ -3472,7 +3472,6 @@ MODULE_DEVICE_TABLE(of, gfar_match);
|
|||
static struct platform_driver gfar_driver = {
|
||||
.driver = {
|
||||
.name = "fsl-gianfar",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = GFAR_PM_OPS,
|
||||
.of_match_table = gfar_match,
|
||||
},
|
||||
|
|
|
@ -563,7 +563,6 @@ static struct platform_driver gianfar_ptp_driver = {
|
|||
.driver = {
|
||||
.name = "gianfar_ptp",
|
||||
.of_match_table = match_table,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = gianfar_ptp_probe,
|
||||
.remove = gianfar_ptp_remove,
|
||||
|
|
|
@ -3943,7 +3943,6 @@ MODULE_DEVICE_TABLE(of, ucc_geth_match);
|
|||
static struct platform_driver ucc_geth_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = ucc_geth_match,
|
||||
},
|
||||
.probe = ucc_geth_probe,
|
||||
|
|
Loading…
Reference in New Issue