net: ethernet: Switch back to struct platform_driver::remove()

After commit 0edb555a65 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/net/ethernet to use
.remove(), with the eventual goal to drop struct
platform_driver::remove_new(). As .remove() and .remove_new() have the
same prototypes, conversion is done by just changing the structure
member name in the driver initializer.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/18f7c585a1a8a8ac8b03a2fca7de19bd5c52ac2b.1727949050.git.u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Uwe Kleine-König 2024-10-03 12:01:03 +02:00 committed by Jakub Kicinski
parent 41378cfdc4
commit e96321fad3
136 changed files with 139 additions and 139 deletions

View File

@ -1009,7 +1009,7 @@ static struct platform_driver axdrv = {
.name = "ax88796", .name = "ax88796",
}, },
.probe = ax_probe, .probe = ax_probe,
.remove_new = ax_remove, .remove = ax_remove,
.suspend = ax_suspend, .suspend = ax_suspend,
.resume = ax_resume, .resume = ax_resume,
}; };

View File

@ -457,7 +457,7 @@ static struct platform_driver mcf8390_drv = {
.name = "mcf8390", .name = "mcf8390",
}, },
.probe = mcf8390_probe, .probe = mcf8390_probe,
.remove_new = mcf8390_remove, .remove = mcf8390_remove,
}; };
module_platform_driver(mcf8390_drv); module_platform_driver(mcf8390_drv);

View File

@ -894,7 +894,7 @@ static int ne_drv_resume(struct platform_device *pdev)
#endif #endif
static struct platform_driver ne_driver = { static struct platform_driver ne_driver = {
.remove_new = ne_drv_remove, .remove = ne_drv_remove,
.suspend = ne_drv_suspend, .suspend = ne_drv_suspend,
.resume = ne_drv_resume, .resume = ne_drv_resume,
.driver = { .driver = {

View File

@ -1607,7 +1607,7 @@ static struct platform_driver owl_emac_driver = {
.pm = &owl_emac_pm_ops, .pm = &owl_emac_pm_ops,
}, },
.probe = owl_emac_probe, .probe = owl_emac_probe,
.remove_new = owl_emac_remove, .remove = owl_emac_remove,
}; };
module_platform_driver(owl_emac_driver); module_platform_driver(owl_emac_driver);

View File

@ -1564,7 +1564,7 @@ static struct platform_driver greth_of_driver = {
.of_match_table = greth_of_match, .of_match_table = greth_of_match,
}, },
.probe = greth_of_probe, .probe = greth_of_probe,
.remove_new = greth_of_remove, .remove = greth_of_remove,
}; };
module_platform_driver(greth_of_driver); module_platform_driver(greth_of_driver);

View File

@ -1142,7 +1142,7 @@ static struct platform_driver emac_driver = {
.of_match_table = emac_of_match, .of_match_table = emac_of_match,
}, },
.probe = emac_probe, .probe = emac_probe,
.remove_new = emac_remove, .remove = emac_remove,
.suspend = emac_suspend, .suspend = emac_suspend,
.resume = emac_resume, .resume = emac_resume,
}; };

View File

@ -1519,7 +1519,7 @@ MODULE_DEVICE_TABLE(of, altera_tse_ids);
static struct platform_driver altera_tse_driver = { static struct platform_driver altera_tse_driver = {
.probe = altera_tse_probe, .probe = altera_tse_probe,
.remove_new = altera_tse_remove, .remove = altera_tse_remove,
.suspend = NULL, .suspend = NULL,
.resume = NULL, .resume = NULL,
.driver = { .driver = {

View File

@ -1363,7 +1363,7 @@ static void au1000_remove(struct platform_device *pdev)
static struct platform_driver au1000_eth_driver = { static struct platform_driver au1000_eth_driver = {
.probe = au1000_probe, .probe = au1000_probe,
.remove_new = au1000_remove, .remove = au1000_remove,
.driver = { .driver = {
.name = "au1000-eth", .name = "au1000-eth",
}, },

View File

@ -1514,7 +1514,7 @@ static struct platform_driver sunlance_sbus_driver = {
.of_match_table = sunlance_sbus_match, .of_match_table = sunlance_sbus_match,
}, },
.probe = sunlance_sbus_probe, .probe = sunlance_sbus_probe,
.remove_new = sunlance_sbus_remove, .remove = sunlance_sbus_remove,
}; };
module_platform_driver(sunlance_sbus_driver); module_platform_driver(sunlance_sbus_driver);

View File

@ -565,7 +565,7 @@ static struct platform_driver xgbe_driver = {
.pm = &xgbe_platform_pm_ops, .pm = &xgbe_platform_pm_ops,
}, },
.probe = xgbe_platform_probe, .probe = xgbe_platform_probe,
.remove_new = xgbe_platform_remove, .remove = xgbe_platform_remove,
}; };
int xgbe_platform_init(void) int xgbe_platform_init(void)

View File

@ -734,7 +734,7 @@ static struct platform_driver xge_driver = {
.acpi_match_table = ACPI_PTR(xge_acpi_match), .acpi_match_table = ACPI_PTR(xge_acpi_match),
}, },
.probe = xge_probe, .probe = xge_probe,
.remove_new = xge_remove, .remove = xge_remove,
.shutdown = xge_shutdown, .shutdown = xge_shutdown,
}; };
module_platform_driver(xge_driver); module_platform_driver(xge_driver);

View File

@ -2159,7 +2159,7 @@ static struct platform_driver xgene_enet_driver = {
.acpi_match_table = ACPI_PTR(xgene_enet_acpi_match), .acpi_match_table = ACPI_PTR(xgene_enet_acpi_match),
}, },
.probe = xgene_enet_probe, .probe = xgene_enet_probe,
.remove_new = xgene_enet_remove, .remove = xgene_enet_remove,
.shutdown = xgene_enet_shutdown, .shutdown = xgene_enet_shutdown,
}; };

View File

@ -759,7 +759,7 @@ static void mac_mace_device_remove(struct platform_device *pdev)
static struct platform_driver mac_mace_driver = { static struct platform_driver mac_mace_driver = {
.probe = mace_probe, .probe = mace_probe,
.remove_new = mac_mace_device_remove, .remove = mac_mace_device_remove,
.driver = { .driver = {
.name = mac_mace_string, .name = mac_mace_string,
}, },

View File

@ -264,7 +264,7 @@ static void emac_rockchip_remove(struct platform_device *pdev)
static struct platform_driver emac_rockchip_driver = { static struct platform_driver emac_rockchip_driver = {
.probe = emac_rockchip_probe, .probe = emac_rockchip_probe,
.remove_new = emac_rockchip_remove, .remove = emac_rockchip_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = emac_rockchip_dt_ids, .of_match_table = emac_rockchip_dt_ids,

View File

@ -1500,7 +1500,7 @@ static SIMPLE_DEV_PM_OPS(bcmasp_pm_ops,
static struct platform_driver bcmasp_driver = { static struct platform_driver bcmasp_driver = {
.probe = bcmasp_probe, .probe = bcmasp_probe,
.remove_new = bcmasp_remove, .remove = bcmasp_remove,
.shutdown = bcmasp_shutdown, .shutdown = bcmasp_shutdown,
.driver = { .driver = {
.name = "brcm,asp-v2", .name = "brcm,asp-v2",

View File

@ -789,7 +789,7 @@ static struct platform_driver bcm4908_enet_driver = {
.of_match_table = bcm4908_enet_of_match, .of_match_table = bcm4908_enet_of_match,
}, },
.probe = bcm4908_enet_probe, .probe = bcm4908_enet_probe,
.remove_new = bcm4908_enet_remove, .remove = bcm4908_enet_remove,
}; };
module_platform_driver(bcm4908_enet_driver); module_platform_driver(bcm4908_enet_driver);

View File

@ -1936,7 +1936,7 @@ static void bcm_enet_remove(struct platform_device *pdev)
static struct platform_driver bcm63xx_enet_driver = { static struct platform_driver bcm63xx_enet_driver = {
.probe = bcm_enet_probe, .probe = bcm_enet_probe,
.remove_new = bcm_enet_remove, .remove = bcm_enet_remove,
.driver = { .driver = {
.name = "bcm63xx_enet", .name = "bcm63xx_enet",
}, },
@ -2755,7 +2755,7 @@ static void bcm_enetsw_remove(struct platform_device *pdev)
static struct platform_driver bcm63xx_enetsw_driver = { static struct platform_driver bcm63xx_enetsw_driver = {
.probe = bcm_enetsw_probe, .probe = bcm_enetsw_probe,
.remove_new = bcm_enetsw_remove, .remove = bcm_enetsw_remove,
.driver = { .driver = {
.name = "bcm63xx_enetsw", .name = "bcm63xx_enetsw",
}, },

View File

@ -2899,7 +2899,7 @@ static SIMPLE_DEV_PM_OPS(bcm_sysport_pm_ops,
static struct platform_driver bcm_sysport_driver = { static struct platform_driver bcm_sysport_driver = {
.probe = bcm_sysport_probe, .probe = bcm_sysport_probe,
.remove_new = bcm_sysport_remove, .remove = bcm_sysport_remove,
.driver = { .driver = {
.name = "brcm-systemport", .name = "brcm-systemport",
.of_match_table = bcm_sysport_of_match, .of_match_table = bcm_sysport_of_match,

View File

@ -294,7 +294,7 @@ static struct platform_driver bgmac_enet_driver = {
.pm = BGMAC_PM_OPS .pm = BGMAC_PM_OPS
}, },
.probe = bgmac_probe, .probe = bgmac_probe,
.remove_new = bgmac_remove, .remove = bgmac_remove,
}; };
module_platform_driver(bgmac_enet_driver); module_platform_driver(bgmac_enet_driver);

View File

@ -4350,7 +4350,7 @@ MODULE_DEVICE_TABLE(acpi, genet_acpi_match);
static struct platform_driver bcmgenet_driver = { static struct platform_driver bcmgenet_driver = {
.probe = bcmgenet_probe, .probe = bcmgenet_probe,
.remove_new = bcmgenet_remove, .remove = bcmgenet_remove,
.shutdown = bcmgenet_shutdown, .shutdown = bcmgenet_shutdown,
.driver = { .driver = {
.name = "bcmgenet", .name = "bcmgenet",

View File

@ -2608,7 +2608,7 @@ static void sbmac_remove(struct platform_device *pldev)
static struct platform_driver sbmac_driver = { static struct platform_driver sbmac_driver = {
.probe = sbmac_probe, .probe = sbmac_probe,
.remove_new = sbmac_remove, .remove = sbmac_remove,
.driver = { .driver = {
.name = sbmac_string, .name = sbmac_string,
}, },

View File

@ -5483,7 +5483,7 @@ static const struct dev_pm_ops macb_pm_ops = {
static struct platform_driver macb_driver = { static struct platform_driver macb_driver = {
.probe = macb_probe, .probe = macb_probe,
.remove_new = macb_remove, .remove = macb_remove,
.driver = { .driver = {
.name = "macb", .name = "macb",
.of_match_table = of_match_ptr(macb_dt_ids), .of_match_table = of_match_ptr(macb_dt_ids),

View File

@ -1919,7 +1919,7 @@ static struct platform_driver xgmac_driver = {
.pm = &xgmac_pm_ops, .pm = &xgmac_pm_ops,
}, },
.probe = xgmac_probe, .probe = xgmac_probe,
.remove_new = xgmac_remove, .remove = xgmac_remove,
}; };
module_platform_driver(xgmac_driver); module_platform_driver(xgmac_driver);

View File

@ -1545,7 +1545,7 @@ static struct platform_driver octeon_mgmt_driver = {
.of_match_table = octeon_mgmt_match, .of_match_table = octeon_mgmt_match,
}, },
.probe = octeon_mgmt_probe, .probe = octeon_mgmt_probe,
.remove_new = octeon_mgmt_remove, .remove = octeon_mgmt_remove,
}; };
module_platform_driver(octeon_mgmt_driver); module_platform_driver(octeon_mgmt_driver);

View File

@ -1903,7 +1903,7 @@ static struct platform_driver cs89x0_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = of_match_ptr(cs89x0_match), .of_match_table = of_match_ptr(cs89x0_match),
}, },
.remove_new = cs89x0_platform_remove, .remove = cs89x0_platform_remove,
}; };
module_platform_driver_probe(cs89x0_driver, cs89x0_platform_probe); module_platform_driver_probe(cs89x0_driver, cs89x0_platform_probe);

View File

@ -862,7 +862,7 @@ MODULE_DEVICE_TABLE(of, ep93xx_eth_of_ids);
static struct platform_driver ep93xx_eth_driver = { static struct platform_driver ep93xx_eth_driver = {
.probe = ep93xx_eth_probe, .probe = ep93xx_eth_probe,
.remove_new = ep93xx_eth_remove, .remove = ep93xx_eth_remove,
.driver = { .driver = {
.name = "ep93xx-eth", .name = "ep93xx-eth",
.of_match_table = ep93xx_eth_of_ids, .of_match_table = ep93xx_eth_of_ids,

View File

@ -568,7 +568,7 @@ static void mac89x0_device_remove(struct platform_device *pdev)
static struct platform_driver mac89x0_platform_driver = { static struct platform_driver mac89x0_platform_driver = {
.probe = mac89x0_device_probe, .probe = mac89x0_device_probe,
.remove_new = mac89x0_device_remove, .remove = mac89x0_device_remove,
.driver = { .driver = {
.name = "mac89x0", .name = "mac89x0",
}, },

View File

@ -2573,7 +2573,7 @@ static struct platform_driver gemini_ethernet_port_driver = {
.of_match_table = gemini_ethernet_port_of_match, .of_match_table = gemini_ethernet_port_of_match,
}, },
.probe = gemini_ethernet_port_probe, .probe = gemini_ethernet_port_probe,
.remove_new = gemini_ethernet_port_remove, .remove = gemini_ethernet_port_remove,
}; };
static int gemini_ethernet_probe(struct platform_device *pdev) static int gemini_ethernet_probe(struct platform_device *pdev)
@ -2637,7 +2637,7 @@ static struct platform_driver gemini_ethernet_driver = {
.of_match_table = gemini_ethernet_of_match, .of_match_table = gemini_ethernet_of_match,
}, },
.probe = gemini_ethernet_probe, .probe = gemini_ethernet_probe,
.remove_new = gemini_ethernet_remove, .remove = gemini_ethernet_remove,
}; };
static int __init gemini_ethernet_module_init(void) static int __init gemini_ethernet_module_init(void)

View File

@ -1799,7 +1799,7 @@ static struct platform_driver dm9000_driver = {
.of_match_table = of_match_ptr(dm9000_of_matches), .of_match_table = of_match_ptr(dm9000_of_matches),
}, },
.probe = dm9000_probe, .probe = dm9000_probe,
.remove_new = dm9000_drv_remove, .remove = dm9000_drv_remove,
}; };
module_platform_driver(dm9000_driver); module_platform_driver(dm9000_driver);

View File

@ -863,7 +863,7 @@ static void dnet_remove(struct platform_device *pdev)
static struct platform_driver dnet_driver = { static struct platform_driver dnet_driver = {
.probe = dnet_probe, .probe = dnet_probe,
.remove_new = dnet_remove, .remove = dnet_remove,
.driver = { .driver = {
.name = "dnet", .name = "dnet",
}, },

View File

@ -2689,7 +2689,7 @@ static struct platform_driver tsnep_driver = {
.of_match_table = tsnep_of_match, .of_match_table = tsnep_of_match,
}, },
.probe = tsnep_probe, .probe = tsnep_probe,
.remove_new = tsnep_remove, .remove = tsnep_remove,
}; };
module_platform_driver(tsnep_driver); module_platform_driver(tsnep_driver);

View File

@ -1296,7 +1296,7 @@ MODULE_DEVICE_TABLE(of, ethoc_match);
static struct platform_driver ethoc_driver = { static struct platform_driver ethoc_driver = {
.probe = ethoc_probe, .probe = ethoc_probe,
.remove_new = ethoc_remove, .remove = ethoc_remove,
.suspend = ethoc_suspend, .suspend = ethoc_suspend,
.resume = ethoc_resume, .resume = ethoc_resume,
.driver = { .driver = {

View File

@ -651,7 +651,7 @@ MODULE_DEVICE_TABLE(of, nps_enet_dt_ids);
static struct platform_driver nps_enet_driver = { static struct platform_driver nps_enet_driver = {
.probe = nps_enet_probe, .probe = nps_enet_probe,
.remove_new = nps_enet_remove, .remove = nps_enet_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = nps_enet_dt_ids, .of_match_table = nps_enet_dt_ids,

View File

@ -2084,7 +2084,7 @@ MODULE_DEVICE_TABLE(of, ftgmac100_of_match);
static struct platform_driver ftgmac100_driver = { static struct platform_driver ftgmac100_driver = {
.probe = ftgmac100_probe, .probe = ftgmac100_probe,
.remove_new = ftgmac100_remove, .remove = ftgmac100_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = ftgmac100_of_match, .of_match_table = ftgmac100_of_match,

View File

@ -1243,7 +1243,7 @@ static const struct of_device_id ftmac100_of_ids[] = {
static struct platform_driver ftmac100_driver = { static struct platform_driver ftmac100_driver = {
.probe = ftmac100_probe, .probe = ftmac100_probe,
.remove_new = ftmac100_remove, .remove = ftmac100_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = ftmac100_of_ids .of_match_table = ftmac100_of_ids

View File

@ -3571,7 +3571,7 @@ static struct platform_driver dpaa_driver = {
}, },
.id_table = dpaa_devtype, .id_table = dpaa_devtype,
.probe = dpaa_eth_probe, .probe = dpaa_eth_probe,
.remove_new = dpaa_remove .remove = dpaa_remove
}; };
static int __init dpaa_load(void) static int __init dpaa_load(void)

View File

@ -4764,7 +4764,7 @@ static struct platform_driver fec_driver = {
}, },
.id_table = fec_devtype, .id_table = fec_devtype,
.probe = fec_probe, .probe = fec_probe,
.remove_new = fec_drv_remove, .remove = fec_drv_remove,
}; };
module_platform_driver(fec_driver); module_platform_driver(fec_driver);

View File

@ -1040,7 +1040,7 @@ static struct platform_driver mpc52xx_fec_driver = {
.of_match_table = mpc52xx_fec_match, .of_match_table = mpc52xx_fec_match,
}, },
.probe = mpc52xx_fec_probe, .probe = mpc52xx_fec_probe,
.remove_new = mpc52xx_fec_remove, .remove = mpc52xx_fec_remove,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = mpc52xx_fec_of_suspend, .suspend = mpc52xx_fec_of_suspend,
.resume = mpc52xx_fec_of_resume, .resume = mpc52xx_fec_of_resume,

View File

@ -144,7 +144,7 @@ struct platform_driver mpc52xx_fec_mdio_driver = {
.of_match_table = mpc52xx_fec_mdio_match, .of_match_table = mpc52xx_fec_mdio_match,
}, },
.probe = mpc52xx_fec_mdio_probe, .probe = mpc52xx_fec_mdio_probe,
.remove_new = mpc52xx_fec_mdio_remove, .remove = mpc52xx_fec_mdio_remove,
}; };
/* let fec driver call it, since this has to be registered before it */ /* let fec driver call it, since this has to be registered before it */

View File

@ -345,7 +345,7 @@ static struct platform_driver mac_driver = {
.of_match_table = mac_match, .of_match_table = mac_match,
}, },
.probe = mac_probe, .probe = mac_probe,
.remove_new = mac_remove, .remove = mac_remove,
}; };
builtin_platform_driver(mac_driver); builtin_platform_driver(mac_driver);

View File

@ -1052,7 +1052,7 @@ static struct platform_driver fs_enet_driver = {
.of_match_table = fs_enet_match, .of_match_table = fs_enet_match,
}, },
.probe = fs_enet_probe, .probe = fs_enet_probe,
.remove_new = fs_enet_remove, .remove = fs_enet_remove,
}; };
#ifdef CONFIG_NET_POLL_CONTROLLER #ifdef CONFIG_NET_POLL_CONTROLLER

View File

@ -214,7 +214,7 @@ static struct platform_driver fs_enet_bb_mdio_driver = {
.of_match_table = fs_enet_mdio_bb_match, .of_match_table = fs_enet_mdio_bb_match,
}, },
.probe = fs_enet_mdio_probe, .probe = fs_enet_mdio_probe,
.remove_new = fs_enet_mdio_remove, .remove = fs_enet_mdio_remove,
}; };
module_platform_driver(fs_enet_bb_mdio_driver); module_platform_driver(fs_enet_bb_mdio_driver);

View File

@ -212,7 +212,7 @@ static struct platform_driver fs_enet_fec_mdio_driver = {
.of_match_table = fs_enet_mdio_fec_match, .of_match_table = fs_enet_mdio_fec_match,
}, },
.probe = fs_enet_mdio_probe, .probe = fs_enet_mdio_probe,
.remove_new = fs_enet_mdio_remove, .remove = fs_enet_mdio_remove,
}; };
module_platform_driver(fs_enet_fec_mdio_driver); module_platform_driver(fs_enet_fec_mdio_driver);

View File

@ -526,7 +526,7 @@ static struct platform_driver fsl_pq_mdio_driver = {
.of_match_table = fsl_pq_mdio_match, .of_match_table = fsl_pq_mdio_match,
}, },
.probe = fsl_pq_mdio_probe, .probe = fsl_pq_mdio_probe,
.remove_new = fsl_pq_mdio_remove, .remove = fsl_pq_mdio_remove,
}; };
module_platform_driver(fsl_pq_mdio_driver); module_platform_driver(fsl_pq_mdio_driver);

View File

@ -3642,7 +3642,7 @@ static struct platform_driver gfar_driver = {
.of_match_table = gfar_match, .of_match_table = gfar_match,
}, },
.probe = gfar_probe, .probe = gfar_probe,
.remove_new = gfar_remove, .remove = gfar_remove,
}; };
module_platform_driver(gfar_driver); module_platform_driver(gfar_driver);

View File

@ -3786,7 +3786,7 @@ static struct platform_driver ucc_geth_driver = {
.of_match_table = ucc_geth_match, .of_match_table = ucc_geth_match,
}, },
.probe = ucc_geth_probe, .probe = ucc_geth_probe,
.remove_new = ucc_geth_remove, .remove = ucc_geth_remove,
.suspend = ucc_geth_suspend, .suspend = ucc_geth_suspend,
.resume = ucc_geth_resume, .resume = ucc_geth_resume,
}; };

View File

@ -1047,7 +1047,7 @@ MODULE_DEVICE_TABLE(of, hip04_mac_match);
static struct platform_driver hip04_mac_driver = { static struct platform_driver hip04_mac_driver = {
.probe = hip04_mac_probe, .probe = hip04_mac_probe,
.remove_new = hip04_remove, .remove = hip04_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = hip04_mac_match, .of_match_table = hip04_mac_match,

View File

@ -959,7 +959,7 @@ static struct platform_driver hisi_femac_driver = {
.of_match_table = hisi_femac_match, .of_match_table = hisi_femac_match,
}, },
.probe = hisi_femac_drv_probe, .probe = hisi_femac_drv_probe,
.remove_new = hisi_femac_drv_remove, .remove = hisi_femac_drv_remove,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = hisi_femac_drv_suspend, .suspend = hisi_femac_drv_suspend,
.resume = hisi_femac_drv_resume, .resume = hisi_femac_drv_resume,

View File

@ -1312,7 +1312,7 @@ static struct platform_driver hix5hd2_dev_driver = {
.of_match_table = hix5hd2_of_match, .of_match_table = hix5hd2_of_match,
}, },
.probe = hix5hd2_dev_probe, .probe = hix5hd2_dev_probe,
.remove_new = hix5hd2_dev_remove, .remove = hix5hd2_dev_remove,
}; };
module_platform_driver(hix5hd2_dev_driver); module_platform_driver(hix5hd2_dev_driver);

View File

@ -3031,7 +3031,7 @@ MODULE_DEVICE_TABLE(of, g_dsaf_match);
static struct platform_driver g_dsaf_driver = { static struct platform_driver g_dsaf_driver = {
.probe = hns_dsaf_probe, .probe = hns_dsaf_probe,
.remove_new = hns_dsaf_remove, .remove = hns_dsaf_remove,
.driver = { .driver = {
.name = DSAF_DRV_NAME, .name = DSAF_DRV_NAME,
.of_match_table = g_dsaf_match, .of_match_table = g_dsaf_match,

View File

@ -2439,7 +2439,7 @@ static struct platform_driver hns_nic_dev_driver = {
.acpi_match_table = ACPI_PTR(hns_enet_acpi_match), .acpi_match_table = ACPI_PTR(hns_enet_acpi_match),
}, },
.probe = hns_nic_dev_probe, .probe = hns_nic_dev_probe,
.remove_new = hns_nic_dev_remove, .remove = hns_nic_dev_remove,
}; };
module_platform_driver(hns_nic_dev_driver); module_platform_driver(hns_nic_dev_driver);

View File

@ -636,7 +636,7 @@ MODULE_DEVICE_TABLE(acpi, hns_mdio_acpi_match);
static struct platform_driver hns_mdio_driver = { static struct platform_driver hns_mdio_driver = {
.probe = hns_mdio_probe, .probe = hns_mdio_probe,
.remove_new = hns_mdio_remove, .remove = hns_mdio_remove,
.driver = { .driver = {
.name = MDIO_DRV_NAME, .name = MDIO_DRV_NAME,
.of_match_table = hns_mdio_match, .of_match_table = hns_mdio_match,

View File

@ -168,7 +168,7 @@ static void sni_82596_driver_remove(struct platform_device *pdev)
static struct platform_driver sni_82596_driver = { static struct platform_driver sni_82596_driver = {
.probe = sni_82596_probe, .probe = sni_82596_probe,
.remove_new = sni_82596_driver_remove, .remove = sni_82596_driver_remove,
.driver = { .driver = {
.name = sni_82596_string, .name = sni_82596_string,
}, },

View File

@ -121,7 +121,7 @@ static struct platform_driver ehea_driver = {
.of_match_table = ehea_device_table, .of_match_table = ehea_device_table,
}, },
.probe = ehea_probe_adapter, .probe = ehea_probe_adapter,
.remove_new = ehea_remove, .remove = ehea_remove,
}; };
void ehea_dump(void *adr, int len, char *msg) void ehea_dump(void *adr, int len, char *msg)

View File

@ -3241,7 +3241,7 @@ static struct platform_driver emac_driver = {
.of_match_table = emac_match, .of_match_table = emac_match,
}, },
.probe = emac_probe, .probe = emac_probe,
.remove_new = emac_remove, .remove = emac_remove,
}; };
static void __init emac_make_bootlist(void) static void __init emac_make_bootlist(void)

View File

@ -776,7 +776,7 @@ static struct platform_driver mal_of_driver = {
.of_match_table = mal_platform_match, .of_match_table = mal_platform_match,
}, },
.probe = mal_probe, .probe = mal_probe,
.remove_new = mal_remove, .remove = mal_remove,
}; };
int __init mal_init(void) int __init mal_init(void)

View File

@ -300,7 +300,7 @@ static struct platform_driver rgmii_driver = {
.of_match_table = rgmii_match, .of_match_table = rgmii_match,
}, },
.probe = rgmii_probe, .probe = rgmii_probe,
.remove_new = rgmii_remove, .remove = rgmii_remove,
}; };
int __init rgmii_init(void) int __init rgmii_init(void)

View File

@ -158,7 +158,7 @@ static struct platform_driver tah_driver = {
.of_match_table = tah_match, .of_match_table = tah_match,
}, },
.probe = tah_probe, .probe = tah_probe,
.remove_new = tah_remove, .remove = tah_remove,
}; };
int __init tah_init(void) int __init tah_init(void)

View File

@ -306,7 +306,7 @@ static struct platform_driver zmii_driver = {
.of_match_table = zmii_match, .of_match_table = zmii_match,
}, },
.probe = zmii_probe, .probe = zmii_probe,
.remove_new = zmii_remove, .remove = zmii_remove,
}; };
int __init zmii_init(void) int __init zmii_init(void)

View File

@ -1403,7 +1403,7 @@ static struct platform_driver korina_driver = {
.of_match_table = of_match_ptr(korina_match), .of_match_table = of_match_ptr(korina_match),
}, },
.probe = korina_probe, .probe = korina_probe,
.remove_new = korina_remove, .remove = korina_remove,
}; };
module_platform_driver(korina_driver); module_platform_driver(korina_driver);

View File

@ -734,7 +734,7 @@ static void ltq_etop_remove(struct platform_device *pdev)
} }
static struct platform_driver ltq_mii_driver = { static struct platform_driver ltq_mii_driver = {
.remove_new = ltq_etop_remove, .remove = ltq_etop_remove,
.driver = { .driver = {
.name = "ltq_etop", .name = "ltq_etop",
}, },

View File

@ -669,7 +669,7 @@ MODULE_DEVICE_TABLE(of, xrx200_match);
static struct platform_driver xrx200_driver = { static struct platform_driver xrx200_driver = {
.probe = xrx200_probe, .probe = xrx200_probe,
.remove_new = xrx200_remove, .remove = xrx200_remove,
.driver = { .driver = {
.name = "lantiq,xrx200-net", .name = "lantiq,xrx200-net",
.of_match_table = xrx200_match, .of_match_table = xrx200_match,

View File

@ -309,7 +309,7 @@ MODULE_DEVICE_TABLE(of, liteeth_of_match);
static struct platform_driver liteeth_driver = { static struct platform_driver liteeth_driver = {
.probe = liteeth_probe, .probe = liteeth_probe,
.remove_new = liteeth_remove, .remove = liteeth_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = liteeth_of_match, .of_match_table = liteeth_of_match,

View File

@ -2888,7 +2888,7 @@ static void mv643xx_eth_shared_remove(struct platform_device *pdev)
static struct platform_driver mv643xx_eth_shared_driver = { static struct platform_driver mv643xx_eth_shared_driver = {
.probe = mv643xx_eth_shared_probe, .probe = mv643xx_eth_shared_probe,
.remove_new = mv643xx_eth_shared_remove, .remove = mv643xx_eth_shared_remove,
.driver = { .driver = {
.name = MV643XX_ETH_SHARED_NAME, .name = MV643XX_ETH_SHARED_NAME,
.of_match_table = of_match_ptr(mv643xx_eth_shared_ids), .of_match_table = of_match_ptr(mv643xx_eth_shared_ids),
@ -3293,7 +3293,7 @@ static void mv643xx_eth_shutdown(struct platform_device *pdev)
static struct platform_driver mv643xx_eth_driver = { static struct platform_driver mv643xx_eth_driver = {
.probe = mv643xx_eth_probe, .probe = mv643xx_eth_probe,
.remove_new = mv643xx_eth_remove, .remove = mv643xx_eth_remove,
.shutdown = mv643xx_eth_shutdown, .shutdown = mv643xx_eth_shutdown,
.driver = { .driver = {
.name = MV643XX_ETH_NAME, .name = MV643XX_ETH_NAME,

View File

@ -444,7 +444,7 @@ MODULE_DEVICE_TABLE(acpi, orion_mdio_acpi_match);
static struct platform_driver orion_mdio_driver = { static struct platform_driver orion_mdio_driver = {
.probe = orion_mdio_probe, .probe = orion_mdio_probe,
.remove_new = orion_mdio_remove, .remove = orion_mdio_remove,
.driver = { .driver = {
.name = "orion-mdio", .name = "orion-mdio",
.of_match_table = orion_mdio_match, .of_match_table = orion_mdio_match,

View File

@ -5883,7 +5883,7 @@ MODULE_DEVICE_TABLE(of, mvneta_match);
static struct platform_driver mvneta_driver = { static struct platform_driver mvneta_driver = {
.probe = mvneta_probe, .probe = mvneta_probe,
.remove_new = mvneta_remove, .remove = mvneta_remove,
.driver = { .driver = {
.name = MVNETA_DRIVER_NAME, .name = MVNETA_DRIVER_NAME,
.of_match_table = mvneta_match, .of_match_table = mvneta_match,

View File

@ -485,7 +485,7 @@ MODULE_DEVICE_TABLE(of, mvneta_bm_match);
static struct platform_driver mvneta_bm_driver = { static struct platform_driver mvneta_bm_driver = {
.probe = mvneta_bm_probe, .probe = mvneta_bm_probe,
.remove_new = mvneta_bm_remove, .remove = mvneta_bm_remove,
.driver = { .driver = {
.name = MVNETA_BM_DRIVER_NAME, .name = MVNETA_BM_DRIVER_NAME,
.of_match_table = mvneta_bm_match, .of_match_table = mvneta_bm_match,

View File

@ -7774,7 +7774,7 @@ MODULE_DEVICE_TABLE(acpi, mvpp2_acpi_match);
static struct platform_driver mvpp2_driver = { static struct platform_driver mvpp2_driver = {
.probe = mvpp2_probe, .probe = mvpp2_probe,
.remove_new = mvpp2_remove, .remove = mvpp2_remove,
.driver = { .driver = {
.name = MVPP2_DRIVER_NAME, .name = MVPP2_DRIVER_NAME,
.of_match_table = mvpp2_match, .of_match_table = mvpp2_match,

View File

@ -1579,7 +1579,7 @@ MODULE_DEVICE_TABLE(of, pxa168_eth_of_match);
static struct platform_driver pxa168_eth_driver = { static struct platform_driver pxa168_eth_driver = {
.probe = pxa168_eth_probe, .probe = pxa168_eth_probe,
.remove_new = pxa168_eth_remove, .remove = pxa168_eth_remove,
.shutdown = pxa168_eth_shutdown, .shutdown = pxa168_eth_shutdown,
.resume = pxa168_eth_resume, .resume = pxa168_eth_resume,
.suspend = pxa168_eth_suspend, .suspend = pxa168_eth_suspend,

View File

@ -2787,7 +2787,7 @@ MODULE_DEVICE_TABLE(of, of_airoha_match);
static struct platform_driver airoha_driver = { static struct platform_driver airoha_driver = {
.probe = airoha_probe, .probe = airoha_probe,
.remove_new = airoha_remove, .remove = airoha_remove,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.of_match_table = of_airoha_match, .of_match_table = of_airoha_match,

View File

@ -5358,7 +5358,7 @@ MODULE_DEVICE_TABLE(of, of_mtk_match);
static struct platform_driver mtk_driver = { static struct platform_driver mtk_driver = {
.probe = mtk_probe, .probe = mtk_probe,
.remove_new = mtk_remove, .remove = mtk_remove,
.driver = { .driver = {
.name = "mtk_soc_eth", .name = "mtk_soc_eth",
.of_match_table = of_mtk_match, .of_match_table = of_mtk_match,

View File

@ -520,7 +520,7 @@ MODULE_DEVICE_TABLE(acpi, mlxbf_gige_acpi_match);
static struct platform_driver mlxbf_gige_driver = { static struct platform_driver mlxbf_gige_driver = {
.probe = mlxbf_gige_probe, .probe = mlxbf_gige_probe,
.remove_new = mlxbf_gige_remove, .remove = mlxbf_gige_remove,
.shutdown = mlxbf_gige_shutdown, .shutdown = mlxbf_gige_shutdown,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,

View File

@ -1247,7 +1247,7 @@ static struct platform_driver ks8842_platform_driver = {
.name = DRV_NAME, .name = DRV_NAME,
}, },
.probe = ks8842_probe, .probe = ks8842_probe,
.remove_new = ks8842_remove, .remove = ks8842_remove,
}; };
module_platform_driver(ks8842_platform_driver); module_platform_driver(ks8842_platform_driver);

View File

@ -334,7 +334,7 @@ static struct platform_driver ks8851_driver = {
.pm = &ks8851_pm_ops, .pm = &ks8851_pm_ops,
}, },
.probe = ks8851_probe_par, .probe = ks8851_probe_par,
.remove_new = ks8851_remove_par, .remove = ks8851_remove_par,
}; };
module_platform_driver(ks8851_driver); module_platform_driver(ks8851_driver);

View File

@ -1285,7 +1285,7 @@ static void lan966x_remove(struct platform_device *pdev)
static struct platform_driver lan966x_driver = { static struct platform_driver lan966x_driver = {
.probe = lan966x_probe, .probe = lan966x_probe,
.remove_new = lan966x_remove, .remove = lan966x_remove,
.driver = { .driver = {
.name = "lan966x-switch", .name = "lan966x-switch",
.of_match_table = lan966x_match, .of_match_table = lan966x_match,

View File

@ -945,7 +945,7 @@ MODULE_DEVICE_TABLE(of, mchp_sparx5_match);
static struct platform_driver mchp_sparx5_driver = { static struct platform_driver mchp_sparx5_driver = {
.probe = mchp_sparx5_probe, .probe = mchp_sparx5_probe,
.remove_new = mchp_sparx5_remove, .remove = mchp_sparx5_remove,
.driver = { .driver = {
.name = "sparx5-switch", .name = "sparx5-switch",
.of_match_table = mchp_sparx5_match, .of_match_table = mchp_sparx5_match,

View File

@ -576,7 +576,7 @@ MODULE_DEVICE_TABLE(of, moxart_mac_match);
static struct platform_driver moxart_mac_driver = { static struct platform_driver moxart_mac_driver = {
.probe = moxart_mac_probe, .probe = moxart_mac_probe,
.remove_new = moxart_remove, .remove = moxart_remove,
.driver = { .driver = {
.name = "moxart-ethernet", .name = "moxart-ethernet",
.of_match_table = moxart_mac_match, .of_match_table = moxart_mac_match,

View File

@ -416,7 +416,7 @@ static void mscc_ocelot_remove(struct platform_device *pdev)
static struct platform_driver mscc_ocelot_driver = { static struct platform_driver mscc_ocelot_driver = {
.probe = mscc_ocelot_probe, .probe = mscc_ocelot_probe,
.remove_new = mscc_ocelot_remove, .remove = mscc_ocelot_remove,
.driver = { .driver = {
.name = "ocelot-switch", .name = "ocelot-switch",
.of_match_table = mscc_ocelot_match, .of_match_table = mscc_ocelot_match,

View File

@ -241,7 +241,7 @@ static void jazz_sonic_device_remove(struct platform_device *pdev)
static struct platform_driver jazz_sonic_driver = { static struct platform_driver jazz_sonic_driver = {
.probe = jazz_sonic_probe, .probe = jazz_sonic_probe,
.remove_new = jazz_sonic_device_remove, .remove = jazz_sonic_device_remove,
.driver = { .driver = {
.name = jazz_sonic_string, .name = jazz_sonic_string,
}, },

View File

@ -545,7 +545,7 @@ static void mac_sonic_platform_remove(struct platform_device *pdev)
static struct platform_driver mac_sonic_platform_driver = { static struct platform_driver mac_sonic_platform_driver = {
.probe = mac_sonic_platform_probe, .probe = mac_sonic_platform_probe,
.remove_new = mac_sonic_platform_remove, .remove = mac_sonic_platform_remove,
.driver = { .driver = {
.name = "macsonic", .name = "macsonic",
}, },

View File

@ -264,7 +264,7 @@ static void xtsonic_device_remove(struct platform_device *pdev)
static struct platform_driver xtsonic_driver = { static struct platform_driver xtsonic_driver = {
.probe = xtsonic_probe, .probe = xtsonic_probe,
.remove_new = xtsonic_device_remove, .remove = xtsonic_device_remove,
.driver = { .driver = {
.name = xtsonic_string, .name = xtsonic_string,
}, },

View File

@ -1415,7 +1415,7 @@ static void nixge_remove(struct platform_device *pdev)
static struct platform_driver nixge_driver = { static struct platform_driver nixge_driver = {
.probe = nixge_probe, .probe = nixge_probe,
.remove_new = nixge_remove, .remove = nixge_remove,
.driver = { .driver = {
.name = "nixge", .name = "nixge",
.of_match_table = nixge_dt_ids, .of_match_table = nixge_dt_ids,

View File

@ -1503,7 +1503,7 @@ MODULE_DEVICE_TABLE(of, lpc_eth_match);
static struct platform_driver lpc_eth_driver = { static struct platform_driver lpc_eth_driver = {
.probe = lpc_eth_drv_probe, .probe = lpc_eth_drv_probe,
.remove_new = lpc_eth_drv_remove, .remove = lpc_eth_drv_remove,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = lpc_eth_drv_suspend, .suspend = lpc_eth_drv_suspend,
.resume = lpc_eth_drv_resume, .resume = lpc_eth_drv_resume,

View File

@ -760,7 +760,7 @@ static void emac_shutdown(struct platform_device *pdev)
static struct platform_driver emac_platform_driver = { static struct platform_driver emac_platform_driver = {
.probe = emac_probe, .probe = emac_probe,
.remove_new = emac_remove, .remove = emac_remove,
.driver = { .driver = {
.name = "qcom-emac", .name = "qcom-emac",
.of_match_table = emac_dt_match, .of_match_table = emac_dt_match,

View File

@ -3291,7 +3291,7 @@ static const struct dev_pm_ops ravb_dev_pm_ops = {
static struct platform_driver ravb_driver = { static struct platform_driver ravb_driver = {
.probe = ravb_probe, .probe = ravb_probe,
.remove_new = ravb_remove, .remove = ravb_remove,
.driver = { .driver = {
.name = "ravb", .name = "ravb",
.pm = pm_ptr(&ravb_dev_pm_ops), .pm = pm_ptr(&ravb_dev_pm_ops),

View File

@ -2188,7 +2188,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(renesas_eth_sw_pm_ops, renesas_eth_sw_suspend,
static struct platform_driver renesas_eth_sw_driver_platform = { static struct platform_driver renesas_eth_sw_driver_platform = {
.probe = renesas_eth_sw_probe, .probe = renesas_eth_sw_probe,
.remove_new = renesas_eth_sw_remove, .remove = renesas_eth_sw_remove,
.driver = { .driver = {
.name = "renesas_eth_sw", .name = "renesas_eth_sw",
.pm = pm_sleep_ptr(&renesas_eth_sw_pm_ops), .pm = pm_sleep_ptr(&renesas_eth_sw_pm_ops),

View File

@ -3560,7 +3560,7 @@ MODULE_DEVICE_TABLE(platform, sh_eth_id_table);
static struct platform_driver sh_eth_driver = { static struct platform_driver sh_eth_driver = {
.probe = sh_eth_drv_probe, .probe = sh_eth_drv_probe,
.remove_new = sh_eth_drv_remove, .remove = sh_eth_drv_remove,
.id_table = sh_eth_id_table, .id_table = sh_eth_id_table,
.driver = { .driver = {
.name = CARDNAME, .name = CARDNAME,

View File

@ -224,7 +224,7 @@ MODULE_DEVICE_TABLE(of, sxgbe_dt_ids);
static struct platform_driver sxgbe_platform_driver = { static struct platform_driver sxgbe_platform_driver = {
.probe = sxgbe_platform_probe, .probe = sxgbe_platform_probe,
.remove_new = sxgbe_platform_remove, .remove = sxgbe_platform_remove,
.driver = { .driver = {
.name = SXGBE_RESOURCE_NAME, .name = SXGBE_RESOURCE_NAME,
.pm = &sxgbe_platform_pm_ops, .pm = &sxgbe_platform_pm_ops,

View File

@ -832,7 +832,7 @@ static void sgiseeq_remove(struct platform_device *pdev)
static struct platform_driver sgiseeq_driver = { static struct platform_driver sgiseeq_driver = {
.probe = sgiseeq_probe, .probe = sgiseeq_probe,
.remove_new = sgiseeq_remove, .remove = sgiseeq_remove,
.driver = { .driver = {
.name = "sgiseeq", .name = "sgiseeq",
} }

View File

@ -1273,7 +1273,7 @@ static void ioc3_set_multicast_list(struct net_device *dev)
static struct platform_driver ioc3eth_driver = { static struct platform_driver ioc3eth_driver = {
.probe = ioc3eth_probe, .probe = ioc3eth_probe,
.remove_new = ioc3eth_remove, .remove = ioc3eth_remove,
.driver = { .driver = {
.name = "ioc3-eth", .name = "ioc3-eth",
} }

View File

@ -864,7 +864,7 @@ static void meth_remove(struct platform_device *pdev)
static struct platform_driver meth_driver = { static struct platform_driver meth_driver = {
.probe = meth_probe, .probe = meth_probe,
.remove_new = meth_remove, .remove = meth_remove,
.driver = { .driver = {
.name = "meth", .name = "meth",
} }

View File

@ -2475,7 +2475,7 @@ static const struct dev_pm_ops smc_drv_pm_ops = {
static struct platform_driver smc_driver = { static struct platform_driver smc_driver = {
.probe = smc_drv_probe, .probe = smc_drv_probe,
.remove_new = smc_drv_remove, .remove = smc_drv_remove,
.driver = { .driver = {
.name = CARDNAME, .name = CARDNAME,
.pm = &smc_drv_pm_ops, .pm = &smc_drv_pm_ops,

View File

@ -2667,7 +2667,7 @@ MODULE_DEVICE_TABLE(acpi, smsc911x_acpi_match);
static struct platform_driver smsc911x_driver = { static struct platform_driver smsc911x_driver = {
.probe = smsc911x_drv_probe, .probe = smsc911x_drv_probe,
.remove_new = smsc911x_drv_remove, .remove = smsc911x_drv_remove,
.driver = { .driver = {
.name = SMSC_CHIPNAME, .name = SMSC_CHIPNAME,
.pm = SMSC911X_PM_OPS, .pm = SMSC911X_PM_OPS,

View File

@ -2211,7 +2211,7 @@ MODULE_DEVICE_TABLE(acpi, netsec_acpi_ids);
static struct platform_driver netsec_driver = { static struct platform_driver netsec_driver = {
.probe = netsec_probe, .probe = netsec_probe,
.remove_new = netsec_remove, .remove = netsec_remove,
.driver = { .driver = {
.name = "netsec", .name = "netsec",
.pm = &netsec_pm_ops, .pm = &netsec_pm_ops,

View File

@ -1974,7 +1974,7 @@ MODULE_DEVICE_TABLE(of, of_ave_match);
static struct platform_driver ave_driver = { static struct platform_driver ave_driver = {
.probe = ave_probe, .probe = ave_probe,
.remove_new = ave_remove, .remove = ave_remove,
.driver = { .driver = {
.name = "ave", .name = "ave",
.pm = AVE_PM_OPS, .pm = AVE_PM_OPS,

View File

@ -135,7 +135,7 @@ MODULE_DEVICE_TABLE(of, anarion_dwmac_match);
static struct platform_driver anarion_dwmac_driver = { static struct platform_driver anarion_dwmac_driver = {
.probe = anarion_dwmac_probe, .probe = anarion_dwmac_probe,
.remove_new = stmmac_pltfr_remove, .remove = stmmac_pltfr_remove,
.driver = { .driver = {
.name = "anarion-dwmac", .name = "anarion-dwmac",
.pm = &stmmac_pltfr_pm_ops, .pm = &stmmac_pltfr_pm_ops,

View File

@ -479,7 +479,7 @@ MODULE_DEVICE_TABLE(of, dwc_eth_dwmac_match);
static struct platform_driver dwc_eth_dwmac_driver = { static struct platform_driver dwc_eth_dwmac_driver = {
.probe = dwc_eth_dwmac_probe, .probe = dwc_eth_dwmac_probe,
.remove_new = dwc_eth_dwmac_remove, .remove = dwc_eth_dwmac_remove,
.driver = { .driver = {
.name = "dwc-eth-dwmac", .name = "dwc-eth-dwmac",
.pm = &stmmac_pltfr_pm_ops, .pm = &stmmac_pltfr_pm_ops,

View File

@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, imx_dwmac_match);
static struct platform_driver imx_dwmac_driver = { static struct platform_driver imx_dwmac_driver = {
.probe = imx_dwmac_probe, .probe = imx_dwmac_probe,
.remove_new = stmmac_pltfr_remove, .remove = stmmac_pltfr_remove,
.driver = { .driver = {
.name = "imx-dwmac", .name = "imx-dwmac",
.pm = &stmmac_pltfr_pm_ops, .pm = &stmmac_pltfr_pm_ops,

View File

@ -370,7 +370,7 @@ MODULE_DEVICE_TABLE(of, ingenic_mac_of_matches);
static struct platform_driver ingenic_mac_driver = { static struct platform_driver ingenic_mac_driver = {
.probe = ingenic_mac_probe, .probe = ingenic_mac_probe,
.remove_new = stmmac_pltfr_remove, .remove = stmmac_pltfr_remove,
.driver = { .driver = {
.name = "ingenic-mac", .name = "ingenic-mac",
.pm = pm_ptr(&ingenic_mac_pm_ops), .pm = pm_ptr(&ingenic_mac_pm_ops),

View File

@ -167,7 +167,7 @@ static void intel_eth_plat_remove(struct platform_device *pdev)
static struct platform_driver intel_eth_plat_driver = { static struct platform_driver intel_eth_plat_driver = {
.probe = intel_eth_plat_probe, .probe = intel_eth_plat_probe,
.remove_new = intel_eth_plat_remove, .remove = intel_eth_plat_remove,
.driver = { .driver = {
.name = "intel-eth-plat", .name = "intel-eth-plat",
.pm = &stmmac_pltfr_pm_ops, .pm = &stmmac_pltfr_pm_ops,

Some files were not shown because too many files have changed in this diff Show More