mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
Get rid of 'remove_new' relic from platform driver struct
The continual trickle of small conversion patches is grating on me, and is really not helping. Just get rid of the 'remove_new' member function, which is just an alias for the plain 'remove', and had a comment to that effect: /* * .remove_new() is a relic from a prototype conversion of .remove(). * New drivers are supposed to implement .remove(). Once all drivers are * converted to not use .remove_new any more, it will be dropped. */ This was just a tree-wide 'sed' script that replaced '.remove_new' with '.remove', with some care taken to turn a subsequent tab into two tabs to make things line up. I did do some minimal manual whitespace adjustment for places that used spaces to line things up. Then I just removed the old (sic) .remove_new member function, and this is the end result. No more unnecessary conversion noise. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
40384c840e
commit
e70140ba0d
@ -516,7 +516,7 @@ static void locomo_remove(struct platform_device *dev)
|
||||
*/
|
||||
static struct platform_driver locomo_device_driver = {
|
||||
.probe = locomo_probe,
|
||||
.remove_new = locomo_remove,
|
||||
.remove = locomo_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = locomo_suspend,
|
||||
.resume = locomo_resume,
|
||||
|
@ -1154,7 +1154,7 @@ static struct dev_pm_ops sa1111_pm_ops = {
|
||||
*/
|
||||
static struct platform_driver sa1111_device_driver = {
|
||||
.probe = sa1111_probe,
|
||||
.remove_new = sa1111_remove,
|
||||
.remove = sa1111_remove,
|
||||
.driver = {
|
||||
.name = "sa1111",
|
||||
.pm = &sa1111_pm_ops,
|
||||
|
@ -250,7 +250,7 @@ static void scoop_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver scoop_driver = {
|
||||
.probe = scoop_probe,
|
||||
.remove_new = scoop_remove,
|
||||
.remove = scoop_remove,
|
||||
.suspend = scoop_suspend,
|
||||
.resume = scoop_resume,
|
||||
.driver = {
|
||||
|
@ -596,7 +596,7 @@ static struct platform_driver imx_mmdc_driver = {
|
||||
.of_match_table = imx_mmdc_dt_ids,
|
||||
},
|
||||
.probe = imx_mmdc_probe,
|
||||
.remove_new = imx_mmdc_remove,
|
||||
.remove = imx_mmdc_remove,
|
||||
};
|
||||
|
||||
static int __init imx_mmdc_init(void)
|
||||
|
@ -832,7 +832,7 @@ static void omap_system_dma_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver omap_system_dma_driver = {
|
||||
.probe = omap_system_dma_probe,
|
||||
.remove_new = omap_system_dma_remove,
|
||||
.remove = omap_system_dma_remove,
|
||||
.driver = {
|
||||
.name = "omap_dma_system"
|
||||
},
|
||||
|
@ -919,7 +919,7 @@ static void sharpsl_pm_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver sharpsl_pm_driver = {
|
||||
.probe = sharpsl_pm_probe,
|
||||
.remove_new = sharpsl_pm_remove,
|
||||
.remove = sharpsl_pm_remove,
|
||||
.suspend = sharpsl_pm_suspend,
|
||||
.resume = sharpsl_pm_resume,
|
||||
.driver = {
|
||||
|
@ -188,7 +188,7 @@ static void jornada_ssp_remove(struct platform_device *dev)
|
||||
|
||||
struct platform_driver jornadassp_driver = {
|
||||
.probe = jornada_ssp_probe,
|
||||
.remove_new = jornada_ssp_remove,
|
||||
.remove = jornada_ssp_remove,
|
||||
.driver = {
|
||||
.name = "jornada_ssp",
|
||||
},
|
||||
|
@ -423,7 +423,7 @@ static const struct dev_pm_ops neponset_pm_ops = {
|
||||
|
||||
static struct platform_driver neponset_device_driver = {
|
||||
.probe = neponset_probe,
|
||||
.remove_new = neponset_remove,
|
||||
.remove = neponset_remove,
|
||||
.driver = {
|
||||
.name = "neponset",
|
||||
.pm = PM_OPS,
|
||||
|
@ -749,7 +749,7 @@ static void bridge_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bridge_driver = {
|
||||
.probe = bridge_probe,
|
||||
.remove_new = bridge_remove,
|
||||
.remove = bridge_remove,
|
||||
.driver = {
|
||||
.name = "xtalk-bridge",
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ static void switch_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver switch_driver = {
|
||||
.probe = switch_drv_probe,
|
||||
.remove_new = switch_drv_remove,
|
||||
.remove = switch_drv_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
},
|
||||
|
@ -243,7 +243,7 @@ static struct platform_driver ecpp_driver = {
|
||||
.of_match_table = ecpp_match,
|
||||
},
|
||||
.probe = ecpp_probe,
|
||||
.remove_new = ecpp_remove,
|
||||
.remove = ecpp_remove,
|
||||
};
|
||||
|
||||
static int parport_pc_find_nonpci_ports(int autoirq, int autodma)
|
||||
|
@ -814,7 +814,7 @@ static struct platform_driver us3mc_driver = {
|
||||
.of_match_table = us3mc_match,
|
||||
},
|
||||
.probe = us3mc_probe,
|
||||
.remove_new = us3mc_remove,
|
||||
.remove = us3mc_remove,
|
||||
};
|
||||
|
||||
static inline bool us3mc_platform(void)
|
||||
|
@ -176,7 +176,7 @@ static void uml_rtc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver uml_rtc_driver = {
|
||||
.probe = uml_rtc_probe,
|
||||
.remove_new = uml_rtc_remove,
|
||||
.remove = uml_rtc_remove,
|
||||
.driver = {
|
||||
.name = "uml-rtc",
|
||||
},
|
||||
|
@ -1465,7 +1465,7 @@ static int virtio_uml_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver virtio_uml_driver = {
|
||||
.probe = virtio_uml_probe,
|
||||
.remove_new = virtio_uml_remove,
|
||||
.remove = virtio_uml_remove,
|
||||
.driver = {
|
||||
.name = "virtio-uml",
|
||||
.of_match_table = virtio_uml_match,
|
||||
|
@ -2569,7 +2569,7 @@ static struct platform_driver fore200e_sba_driver = {
|
||||
.of_match_table = fore200e_sba_match,
|
||||
},
|
||||
.probe = fore200e_sba_probe,
|
||||
.remove_new = fore200e_sba_remove,
|
||||
.remove = fore200e_sba_remove,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -108,7 +108,7 @@ static void cfag12864bfb_remove(struct platform_device *device)
|
||||
|
||||
static struct platform_driver cfag12864bfb_driver = {
|
||||
.probe = cfag12864bfb_probe,
|
||||
.remove_new = cfag12864bfb_remove,
|
||||
.remove = cfag12864bfb_remove,
|
||||
.driver = {
|
||||
.name = CFAG12864BFB_NAME,
|
||||
},
|
||||
|
@ -339,7 +339,7 @@ MODULE_DEVICE_TABLE(of, hd44780_of_match);
|
||||
|
||||
static struct platform_driver hd44780_driver = {
|
||||
.probe = hd44780_probe,
|
||||
.remove_new = hd44780_remove,
|
||||
.remove = hd44780_remove,
|
||||
.driver = {
|
||||
.name = "hd44780",
|
||||
.of_match_table = hd44780_of_match,
|
||||
|
@ -291,7 +291,7 @@ static struct platform_driver img_ascii_lcd_driver = {
|
||||
.of_match_table = img_ascii_lcd_matches,
|
||||
},
|
||||
.probe = img_ascii_lcd_probe,
|
||||
.remove_new = img_ascii_lcd_remove,
|
||||
.remove = img_ascii_lcd_remove,
|
||||
};
|
||||
module_platform_driver(img_ascii_lcd_driver);
|
||||
|
||||
|
@ -97,7 +97,7 @@ MODULE_DEVICE_TABLE(of, seg_led_of_match);
|
||||
|
||||
static struct platform_driver seg_led_driver = {
|
||||
.probe = seg_led_probe,
|
||||
.remove_new = seg_led_remove,
|
||||
.remove = seg_led_remove,
|
||||
.driver = {
|
||||
.name = "seg-led-gpio",
|
||||
.of_match_table = seg_led_of_match,
|
||||
|
@ -261,7 +261,7 @@ static struct platform_driver bcma_host_soc_driver = {
|
||||
.of_match_table = bcma_host_soc_of_match,
|
||||
},
|
||||
.probe = bcma_host_soc_probe,
|
||||
.remove_new = bcma_host_soc_remove,
|
||||
.remove = bcma_host_soc_remove,
|
||||
};
|
||||
|
||||
int __init bcma_host_soc_register_driver(void)
|
||||
|
@ -944,7 +944,7 @@ static void swim_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver swim_driver = {
|
||||
.probe = swim_probe,
|
||||
.remove_new = swim_remove,
|
||||
.remove = swim_remove,
|
||||
.driver = {
|
||||
.name = CARDNAME,
|
||||
},
|
||||
|
@ -216,7 +216,7 @@ MODULE_DEVICE_TABLE(of, btqcomsmd_of_match);
|
||||
|
||||
static struct platform_driver btqcomsmd_driver = {
|
||||
.probe = btqcomsmd_probe,
|
||||
.remove_new = btqcomsmd_remove,
|
||||
.remove = btqcomsmd_remove,
|
||||
.driver = {
|
||||
.name = "btqcomsmd",
|
||||
.of_match_table = btqcomsmd_of_match,
|
||||
|
@ -1498,7 +1498,7 @@ static const struct dev_pm_ops bcm_pm_ops = {
|
||||
|
||||
static struct platform_driver bcm_driver = {
|
||||
.probe = bcm_probe,
|
||||
.remove_new = bcm_remove,
|
||||
.remove = bcm_remove,
|
||||
.driver = {
|
||||
.name = "hci_bcm",
|
||||
.acpi_match_table = ACPI_PTR(bcm_acpi_match),
|
||||
|
@ -1206,7 +1206,7 @@ static void intel_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver intel_driver = {
|
||||
.probe = intel_probe,
|
||||
.remove_new = intel_remove,
|
||||
.remove = intel_remove,
|
||||
.driver = {
|
||||
.name = "hci_intel",
|
||||
.acpi_match_table = ACPI_PTR(intel_acpi_match),
|
||||
|
@ -847,7 +847,7 @@ static void remove_gdrom(struct platform_device *devptr)
|
||||
|
||||
static struct platform_driver gdrom_driver = {
|
||||
.probe = probe_gdrom,
|
||||
.remove_new = remove_gdrom,
|
||||
.remove = remove_gdrom,
|
||||
.driver = {
|
||||
.name = GDROM_DEV_NAME,
|
||||
},
|
||||
|
@ -250,7 +250,7 @@ static struct platform_driver cdx_pdriver = {
|
||||
.of_match_table = cdx_match_table,
|
||||
},
|
||||
.probe = xlnx_cdx_probe,
|
||||
.remove_new = xlnx_cdx_remove,
|
||||
.remove = xlnx_cdx_remove,
|
||||
};
|
||||
|
||||
static int __init cdx_controller_init(void)
|
||||
|
@ -481,7 +481,7 @@ static struct platform_driver bt_bmc_driver = {
|
||||
.of_match_table = bt_bmc_match,
|
||||
},
|
||||
.probe = bt_bmc_probe,
|
||||
.remove_new = bt_bmc_remove,
|
||||
.remove = bt_bmc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bt_bmc_driver);
|
||||
|
@ -302,7 +302,7 @@ static struct platform_driver powernv_ipmi_driver = {
|
||||
.of_match_table = ipmi_powernv_match,
|
||||
},
|
||||
.probe = ipmi_powernv_probe,
|
||||
.remove_new = ipmi_powernv_remove,
|
||||
.remove = ipmi_powernv_remove,
|
||||
};
|
||||
|
||||
|
||||
|
@ -445,7 +445,7 @@ struct platform_driver ipmi_platform_driver = {
|
||||
.acpi_match_table = ACPI_PTR(acpi_ipmi_match),
|
||||
},
|
||||
.probe = ipmi_probe,
|
||||
.remove_new = ipmi_remove,
|
||||
.remove = ipmi_remove,
|
||||
.id_table = si_plat_ids
|
||||
};
|
||||
|
||||
|
@ -2114,7 +2114,7 @@ static struct platform_driver ipmi_driver = {
|
||||
.name = DEVICE_NAME,
|
||||
},
|
||||
.probe = ssif_platform_probe,
|
||||
.remove_new = ssif_platform_remove,
|
||||
.remove = ssif_platform_remove,
|
||||
.id_table = ssif_plat_ids
|
||||
};
|
||||
|
||||
|
@ -672,7 +672,7 @@ static struct platform_driver ast_kcs_bmc_driver = {
|
||||
.of_match_table = ast_kcs_bmc_match,
|
||||
},
|
||||
.probe = aspeed_kcs_probe,
|
||||
.remove_new = aspeed_kcs_remove,
|
||||
.remove = aspeed_kcs_remove,
|
||||
};
|
||||
module_platform_driver(ast_kcs_bmc_driver);
|
||||
|
||||
|
@ -241,7 +241,7 @@ static struct platform_driver npcm_kcs_bmc_driver = {
|
||||
.of_match_table = npcm_kcs_bmc_match,
|
||||
},
|
||||
.probe = npcm7xx_kcs_probe,
|
||||
.remove_new = npcm7xx_kcs_remove,
|
||||
.remove = npcm7xx_kcs_remove,
|
||||
};
|
||||
module_platform_driver(npcm_kcs_bmc_driver);
|
||||
|
||||
|
@ -366,7 +366,7 @@ static struct platform_driver ftpm_tee_plat_driver = {
|
||||
},
|
||||
.shutdown = ftpm_plat_tee_shutdown,
|
||||
.probe = ftpm_plat_tee_probe,
|
||||
.remove_new = ftpm_plat_tee_remove,
|
||||
.remove = ftpm_plat_tee_remove,
|
||||
};
|
||||
|
||||
/* UUID of the fTPM TA */
|
||||
|
@ -356,7 +356,7 @@ MODULE_DEVICE_TABLE(of, tis_of_platform_match);
|
||||
|
||||
static struct platform_driver tis_drv = {
|
||||
.probe = tpm_tis_plat_probe,
|
||||
.remove_new = tpm_tis_plat_remove,
|
||||
.remove = tpm_tis_plat_remove,
|
||||
.driver = {
|
||||
.name = "tpm_tis",
|
||||
.pm = &tpm_tis_pm,
|
||||
|
@ -152,7 +152,7 @@ MODULE_DEVICE_TABLE(acpi, tpm_synquacer_acpi_tbl);
|
||||
|
||||
static struct platform_driver tis_synquacer_drv = {
|
||||
.probe = tpm_tis_synquacer_probe,
|
||||
.remove_new = tpm_tis_synquacer_remove,
|
||||
.remove = tpm_tis_synquacer_remove,
|
||||
.driver = {
|
||||
.name = "tpm_tis_synquacer",
|
||||
.pm = &tpm_tis_synquacer_pm,
|
||||
|
@ -318,7 +318,7 @@ MODULE_DEVICE_TABLE(of, sun5i_timer_of_match);
|
||||
|
||||
static struct platform_driver sun5i_timer_driver = {
|
||||
.probe = sun5i_timer_probe,
|
||||
.remove_new = sun5i_timer_remove,
|
||||
.remove = sun5i_timer_remove,
|
||||
.driver = {
|
||||
.name = "sun5i-timer",
|
||||
.of_match_table = sun5i_timer_of_match,
|
||||
|
@ -502,7 +502,7 @@ static struct platform_driver tegra186_wdt_driver = {
|
||||
.of_match_table = tegra186_timer_of_match,
|
||||
},
|
||||
.probe = tegra186_timer_probe,
|
||||
.remove_new = tegra186_timer_remove,
|
||||
.remove = tegra186_timer_remove,
|
||||
};
|
||||
module_platform_driver(tegra186_wdt_driver);
|
||||
|
||||
|
@ -1295,7 +1295,7 @@ MODULE_DEVICE_TABLE(of, omap_timer_match);
|
||||
|
||||
static struct platform_driver omap_dm_timer_driver = {
|
||||
.probe = omap_dm_timer_probe,
|
||||
.remove_new = omap_dm_timer_remove,
|
||||
.remove = omap_dm_timer_remove,
|
||||
.driver = {
|
||||
.name = "omap_timer",
|
||||
.of_match_table = omap_timer_match,
|
||||
|
@ -603,7 +603,7 @@ MODULE_DEVICE_TABLE(of, ecap_cnt_of_match);
|
||||
|
||||
static struct platform_driver ecap_cnt_driver = {
|
||||
.probe = ecap_cnt_probe,
|
||||
.remove_new = ecap_cnt_remove,
|
||||
.remove = ecap_cnt_remove,
|
||||
.driver = {
|
||||
.name = "ecap-capture",
|
||||
.of_match_table = ecap_cnt_of_match,
|
||||
|
@ -548,7 +548,7 @@ MODULE_DEVICE_TABLE(of, ti_eqep_of_match);
|
||||
|
||||
static struct platform_driver ti_eqep_driver = {
|
||||
.probe = ti_eqep_probe,
|
||||
.remove_new = ti_eqep_remove,
|
||||
.remove = ti_eqep_remove,
|
||||
.driver = {
|
||||
.name = "ti-eqep-cnt",
|
||||
.of_match_table = ti_eqep_of_match,
|
||||
|
@ -66,7 +66,7 @@ static void kirkwood_cpuidle_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver kirkwood_cpuidle_driver = {
|
||||
.probe = kirkwood_cpuidle_probe,
|
||||
.remove_new = kirkwood_cpuidle_remove,
|
||||
.remove = kirkwood_cpuidle_remove,
|
||||
.driver = {
|
||||
.name = "kirkwood_cpuidle",
|
||||
},
|
||||
|
@ -284,7 +284,7 @@ static void exynos_nocp_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver exynos_nocp_driver = {
|
||||
.probe = exynos_nocp_probe,
|
||||
.remove_new = exynos_nocp_remove,
|
||||
.remove = exynos_nocp_remove,
|
||||
.driver = {
|
||||
.name = "exynos-nocp",
|
||||
.of_match_table = exynos_nocp_id_match,
|
||||
|
@ -701,7 +701,7 @@ static void exynos_ppmu_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver exynos_ppmu_driver = {
|
||||
.probe = exynos_ppmu_probe,
|
||||
.remove_new = exynos_ppmu_remove,
|
||||
.remove = exynos_ppmu_remove,
|
||||
.driver = {
|
||||
.name = "exynos-ppmu",
|
||||
.of_match_table = exynos_ppmu_id_match,
|
||||
|
@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, mtk_ccifreq_machines);
|
||||
|
||||
static struct platform_driver mtk_ccifreq_platdrv = {
|
||||
.probe = mtk_ccifreq_probe,
|
||||
.remove_new = mtk_ccifreq_remove,
|
||||
.remove = mtk_ccifreq_remove,
|
||||
.driver = {
|
||||
.name = "mtk-ccifreq",
|
||||
.of_match_table = mtk_ccifreq_machines,
|
||||
|
@ -474,7 +474,7 @@ MODULE_DEVICE_TABLE(of, rk3399dmc_devfreq_of_match);
|
||||
|
||||
static struct platform_driver rk3399_dmcfreq_driver = {
|
||||
.probe = rk3399_dmcfreq_probe,
|
||||
.remove_new = rk3399_dmcfreq_remove,
|
||||
.remove = rk3399_dmcfreq_remove,
|
||||
.driver = {
|
||||
.name = "rk3399-dmc-freq",
|
||||
.pm = &rk3399_dmcfreq_pm,
|
||||
|
@ -495,7 +495,7 @@ static SIMPLE_DEV_PM_OPS(sun8i_a33_mbus_pm_ops,
|
||||
|
||||
static struct platform_driver sun8i_a33_mbus_driver = {
|
||||
.probe = sun8i_a33_mbus_probe,
|
||||
.remove_new = sun8i_a33_mbus_remove,
|
||||
.remove = sun8i_a33_mbus_remove,
|
||||
.driver = {
|
||||
.name = "sun8i-a33-mbus",
|
||||
.of_match_table = sun8i_a33_mbus_of_match,
|
||||
|
@ -482,7 +482,7 @@ static const struct dev_pm_ops altr_sdram_pm_ops = {
|
||||
|
||||
static struct platform_driver altr_sdram_edac_driver = {
|
||||
.probe = altr_sdram_probe,
|
||||
.remove_new = altr_sdram_remove,
|
||||
.remove = altr_sdram_remove,
|
||||
.driver = {
|
||||
.name = "altr_sdram_edac",
|
||||
#ifdef CONFIG_PM
|
||||
@ -816,7 +816,7 @@ static void altr_edac_device_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver altr_edac_device_driver = {
|
||||
.probe = altr_edac_device_probe,
|
||||
.remove_new = altr_edac_device_remove,
|
||||
.remove = altr_edac_device_remove,
|
||||
.driver = {
|
||||
.name = "altr_edac_device",
|
||||
.of_match_table = altr_edac_device_of_match,
|
||||
|
@ -364,7 +364,7 @@ static void axp_mc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver axp_mc_driver = {
|
||||
.probe = axp_mc_probe,
|
||||
.remove_new = axp_mc_remove,
|
||||
.remove = axp_mc_remove,
|
||||
.driver = {
|
||||
.name = "armada_xp_mc_edac",
|
||||
.of_match_table = of_match_ptr(axp_mc_of_match),
|
||||
@ -579,7 +579,7 @@ static void aurora_l2_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver aurora_l2_driver = {
|
||||
.probe = aurora_l2_probe,
|
||||
.remove_new = aurora_l2_remove,
|
||||
.remove = aurora_l2_remove,
|
||||
.driver = {
|
||||
.name = "aurora_l2_edac",
|
||||
.of_match_table = of_match_ptr(aurora_l2_of_match),
|
||||
|
@ -387,7 +387,7 @@ static struct platform_driver aspeed_driver = {
|
||||
.of_match_table = aspeed_of_match
|
||||
},
|
||||
.probe = aspeed_probe,
|
||||
.remove_new = aspeed_remove
|
||||
.remove = aspeed_remove
|
||||
};
|
||||
module_platform_driver(aspeed_driver);
|
||||
|
||||
|
@ -474,7 +474,7 @@ static struct platform_driver bluefield_edac_mc_driver = {
|
||||
.acpi_match_table = bluefield_mc_acpi_ids,
|
||||
},
|
||||
.probe = bluefield_edac_mc_probe,
|
||||
.remove_new = bluefield_edac_mc_remove,
|
||||
.remove = bluefield_edac_mc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bluefield_edac_mc_driver);
|
||||
|
@ -246,7 +246,7 @@ static struct platform_driver cell_edac_driver = {
|
||||
.name = "cbe-mic",
|
||||
},
|
||||
.probe = cell_edac_probe,
|
||||
.remove_new = cell_edac_remove,
|
||||
.remove = cell_edac_remove,
|
||||
};
|
||||
|
||||
static int __init cell_edac_init(void)
|
||||
|
@ -1027,7 +1027,7 @@ static void cpc925_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver cpc925_edac_driver = {
|
||||
.probe = cpc925_probe,
|
||||
.remove_new = cpc925_remove,
|
||||
.remove = cpc925_remove,
|
||||
.driver = {
|
||||
.name = "cpc925_edac",
|
||||
}
|
||||
|
@ -640,7 +640,7 @@ static struct platform_driver dmc520_edac_driver = {
|
||||
},
|
||||
|
||||
.probe = dmc520_edac_probe,
|
||||
.remove_new = dmc520_edac_remove
|
||||
.remove = dmc520_edac_remove
|
||||
};
|
||||
|
||||
module_platform_driver(dmc520_edac_driver);
|
||||
|
@ -128,7 +128,7 @@ static void highbank_l2_err_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver highbank_l2_edac_driver = {
|
||||
.probe = highbank_l2_err_probe,
|
||||
.remove_new = highbank_l2_err_remove,
|
||||
.remove = highbank_l2_err_remove,
|
||||
.driver = {
|
||||
.name = "hb_l2_edac",
|
||||
.of_match_table = hb_l2_err_of_match,
|
||||
|
@ -261,7 +261,7 @@ static void highbank_mc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver highbank_mc_edac_driver = {
|
||||
.probe = highbank_mc_probe,
|
||||
.remove_new = highbank_mc_remove,
|
||||
.remove = highbank_mc_remove,
|
||||
.driver = {
|
||||
.name = "hb_mc_edac",
|
||||
.of_match_table = hb_ddr_ctrl_of_match,
|
||||
|
@ -28,7 +28,7 @@ MODULE_DEVICE_TABLE(of, fsl_ddr_mc_err_of_match);
|
||||
|
||||
static struct platform_driver fsl_ddr_mc_err_driver = {
|
||||
.probe = fsl_mc_err_probe,
|
||||
.remove_new = fsl_mc_err_remove,
|
||||
.remove = fsl_mc_err_remove,
|
||||
.driver = {
|
||||
.name = "fsl_ddr_mc_err",
|
||||
.of_match_table = fsl_ddr_mc_err_of_match,
|
||||
|
@ -323,7 +323,7 @@ static const struct platform_device_id mpc85xx_pci_err_match[] = {
|
||||
|
||||
static struct platform_driver mpc85xx_pci_err_driver = {
|
||||
.probe = mpc85xx_pci_err_probe,
|
||||
.remove_new = mpc85xx_pci_err_remove,
|
||||
.remove = mpc85xx_pci_err_remove,
|
||||
.id_table = mpc85xx_pci_err_match,
|
||||
.driver = {
|
||||
.name = "mpc85xx_pci_err",
|
||||
@ -627,7 +627,7 @@ MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match);
|
||||
|
||||
static struct platform_driver mpc85xx_l2_err_driver = {
|
||||
.probe = mpc85xx_l2_err_probe,
|
||||
.remove_new = mpc85xx_l2_err_remove,
|
||||
.remove = mpc85xx_l2_err_remove,
|
||||
.driver = {
|
||||
.name = "mpc85xx_l2_err",
|
||||
.of_match_table = mpc85xx_l2_err_of_match,
|
||||
@ -656,7 +656,7 @@ MODULE_DEVICE_TABLE(of, mpc85xx_mc_err_of_match);
|
||||
|
||||
static struct platform_driver mpc85xx_mc_err_driver = {
|
||||
.probe = fsl_mc_err_probe,
|
||||
.remove_new = fsl_mc_err_remove,
|
||||
.remove = fsl_mc_err_remove,
|
||||
.driver = {
|
||||
.name = "mpc85xx_mc_err",
|
||||
.of_match_table = mpc85xx_mc_err_of_match,
|
||||
|
@ -531,7 +531,7 @@ static struct platform_driver npcm_edac_driver = {
|
||||
.of_match_table = npcm_edac_of_match,
|
||||
},
|
||||
.probe = edac_probe,
|
||||
.remove_new = edac_remove,
|
||||
.remove = edac_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(npcm_edac_driver);
|
||||
|
@ -194,7 +194,7 @@ static void octeon_l2c_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver octeon_l2c_driver = {
|
||||
.probe = octeon_l2c_probe,
|
||||
.remove_new = octeon_l2c_remove,
|
||||
.remove = octeon_l2c_remove,
|
||||
.driver = {
|
||||
.name = "octeon_l2c_edac",
|
||||
}
|
||||
|
@ -312,7 +312,7 @@ static void octeon_lmc_edac_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver octeon_lmc_edac_driver = {
|
||||
.probe = octeon_lmc_edac_probe,
|
||||
.remove_new = octeon_lmc_edac_remove,
|
||||
.remove = octeon_lmc_edac_remove,
|
||||
.driver = {
|
||||
.name = "octeon_lmc_edac",
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ static void co_cache_error_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver co_cache_error_driver = {
|
||||
.probe = co_cache_error_probe,
|
||||
.remove_new = co_cache_error_remove,
|
||||
.remove = co_cache_error_remove,
|
||||
.driver = {
|
||||
.name = "octeon_pc_edac",
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ static void octeon_pci_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver octeon_pci_driver = {
|
||||
.probe = octeon_pci_probe,
|
||||
.remove_new = octeon_pci_remove,
|
||||
.remove = octeon_pci_remove,
|
||||
.driver = {
|
||||
.name = "octeon_pci_edac",
|
||||
}
|
||||
|
@ -407,7 +407,7 @@ MODULE_DEVICE_TABLE(platform, qcom_llcc_edac_id_table);
|
||||
|
||||
static struct platform_driver qcom_llcc_edac_driver = {
|
||||
.probe = qcom_llcc_edac_probe,
|
||||
.remove_new = qcom_llcc_edac_remove,
|
||||
.remove = qcom_llcc_edac_remove,
|
||||
.driver = {
|
||||
.name = "qcom_llcc_edac",
|
||||
},
|
||||
|
@ -1488,7 +1488,7 @@ static struct platform_driver synps_edac_mc_driver = {
|
||||
.of_match_table = synps_edac_match,
|
||||
},
|
||||
.probe = mc_probe,
|
||||
.remove_new = mc_remove,
|
||||
.remove = mc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(synps_edac_mc_driver);
|
||||
|
@ -322,7 +322,7 @@ static void ti_edac_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ti_edac_driver = {
|
||||
.probe = ti_edac_probe,
|
||||
.remove_new = ti_edac_remove,
|
||||
.remove = ti_edac_remove,
|
||||
.driver = {
|
||||
.name = EDAC_MOD_NAME,
|
||||
.of_match_table = ti_edac_of_match,
|
||||
|
@ -1186,7 +1186,7 @@ static struct platform_driver xilinx_ddr_edac_mc_driver = {
|
||||
.of_match_table = xlnx_edac_match,
|
||||
},
|
||||
.probe = mc_probe,
|
||||
.remove_new = mc_remove,
|
||||
.remove = mc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(xilinx_ddr_edac_mc_driver);
|
||||
|
@ -1989,7 +1989,7 @@ MODULE_DEVICE_TABLE(of, xgene_edac_of_match);
|
||||
|
||||
static struct platform_driver xgene_edac_driver = {
|
||||
.probe = xgene_edac_probe,
|
||||
.remove_new = xgene_edac_remove,
|
||||
.remove = xgene_edac_remove,
|
||||
.driver = {
|
||||
.name = "xgene-edac",
|
||||
.of_match_table = xgene_edac_of_match,
|
||||
|
@ -455,7 +455,7 @@ static struct platform_driver zynqmp_ocm_edac_driver = {
|
||||
.of_match_table = zynqmp_ocm_edac_match,
|
||||
},
|
||||
.probe = edac_probe,
|
||||
.remove_new = edac_remove,
|
||||
.remove = edac_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(zynqmp_ocm_edac_driver);
|
||||
|
@ -196,7 +196,7 @@ static SIMPLE_DEV_PM_OPS(adc_jack_pm_ops,
|
||||
|
||||
static struct platform_driver adc_jack_driver = {
|
||||
.probe = adc_jack_probe,
|
||||
.remove_new = adc_jack_remove,
|
||||
.remove = adc_jack_remove,
|
||||
.driver = {
|
||||
.name = "adc-jack",
|
||||
.pm = &adc_jack_pm_ops,
|
||||
|
@ -627,7 +627,7 @@ MODULE_DEVICE_TABLE(platform, cht_wc_extcon_table);
|
||||
|
||||
static struct platform_driver cht_wc_extcon_driver = {
|
||||
.probe = cht_wc_extcon_probe,
|
||||
.remove_new = cht_wc_extcon_remove,
|
||||
.remove = cht_wc_extcon_remove,
|
||||
.id_table = cht_wc_extcon_table,
|
||||
.driver = {
|
||||
.name = "cht_wcove_pwrsrc",
|
||||
|
@ -275,7 +275,7 @@ static struct platform_driver mrfld_extcon_driver = {
|
||||
.name = "mrfld_bcove_pwrsrc",
|
||||
},
|
||||
.probe = mrfld_extcon_probe,
|
||||
.remove_new = mrfld_extcon_remove,
|
||||
.remove = mrfld_extcon_remove,
|
||||
.id_table = mrfld_extcon_id_table,
|
||||
};
|
||||
module_platform_driver(mrfld_extcon_driver);
|
||||
|
@ -127,7 +127,7 @@ MODULE_DEVICE_TABLE(of, max3355_match_table);
|
||||
|
||||
static struct platform_driver max3355_driver = {
|
||||
.probe = max3355_probe,
|
||||
.remove_new = max3355_remove,
|
||||
.remove = max3355_remove,
|
||||
.driver = {
|
||||
.name = "extcon-max3355",
|
||||
.of_match_table = max3355_match_table,
|
||||
|
@ -956,7 +956,7 @@ static struct platform_driver max77843_muic_driver = {
|
||||
.of_match_table = of_max77843_muic_dt_match,
|
||||
},
|
||||
.probe = max77843_muic_probe,
|
||||
.remove_new = max77843_muic_remove,
|
||||
.remove = max77843_muic_remove,
|
||||
.id_table = max77843_muic_id,
|
||||
};
|
||||
|
||||
|
@ -1778,7 +1778,7 @@ static const struct dev_pm_ops extcon_rtk_type_c_pm_ops = {
|
||||
|
||||
static struct platform_driver extcon_rtk_type_c_driver = {
|
||||
.probe = extcon_rtk_type_c_probe,
|
||||
.remove_new = extcon_rtk_type_c_remove,
|
||||
.remove = extcon_rtk_type_c_remove,
|
||||
.driver = {
|
||||
.name = "extcon-rtk-type_c",
|
||||
.of_match_table = extcon_rtk_type_c_match,
|
||||
|
@ -279,7 +279,7 @@ MODULE_DEVICE_TABLE(platform, usb_extcon_platform_ids);
|
||||
|
||||
static struct platform_driver usb_extcon_driver = {
|
||||
.probe = usb_extcon_probe,
|
||||
.remove_new = usb_extcon_remove,
|
||||
.remove = usb_extcon_remove,
|
||||
.driver = {
|
||||
.name = "extcon-usb-gpio",
|
||||
.pm = &usb_extcon_pm_ops,
|
||||
|
@ -529,7 +529,7 @@ static struct platform_driver extcon_cros_ec_driver = {
|
||||
.of_match_table = of_match_ptr(extcon_cros_ec_of_match),
|
||||
.pm = DEV_PM_OPS,
|
||||
},
|
||||
.remove_new = extcon_cros_ec_remove,
|
||||
.remove = extcon_cros_ec_remove,
|
||||
.probe = extcon_cros_ec_probe,
|
||||
};
|
||||
|
||||
|
@ -666,7 +666,7 @@ static struct platform_driver fsi_master_aspeed_driver = {
|
||||
.of_match_table = fsi_master_aspeed_match,
|
||||
},
|
||||
.probe = fsi_master_aspeed_probe,
|
||||
.remove_new = fsi_master_aspeed_remove,
|
||||
.remove = fsi_master_aspeed_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(fsi_master_aspeed_driver);
|
||||
|
@ -1434,7 +1434,7 @@ static struct platform_driver fsi_master_acf = {
|
||||
.of_match_table = fsi_master_acf_match,
|
||||
},
|
||||
.probe = fsi_master_acf_probe,
|
||||
.remove_new = fsi_master_acf_remove,
|
||||
.remove = fsi_master_acf_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(fsi_master_acf);
|
||||
|
@ -888,7 +888,7 @@ static struct platform_driver fsi_master_gpio_driver = {
|
||||
.of_match_table = fsi_master_gpio_match,
|
||||
},
|
||||
.probe = fsi_master_gpio_probe,
|
||||
.remove_new = fsi_master_gpio_remove,
|
||||
.remove = fsi_master_gpio_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(fsi_master_gpio_driver);
|
||||
|
@ -740,7 +740,7 @@ static struct platform_driver occ_driver = {
|
||||
.of_match_table = occ_match,
|
||||
},
|
||||
.probe = occ_probe,
|
||||
.remove_new = occ_remove,
|
||||
.remove = occ_remove,
|
||||
};
|
||||
|
||||
static int occ_init(void)
|
||||
|
@ -153,7 +153,7 @@ static const struct dev_pm_ops komeda_pm_ops = {
|
||||
|
||||
static struct platform_driver komeda_platform_driver = {
|
||||
.probe = komeda_platform_probe,
|
||||
.remove_new = komeda_platform_remove,
|
||||
.remove = komeda_platform_remove,
|
||||
.shutdown = komeda_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "komeda",
|
||||
|
@ -405,7 +405,7 @@ static SIMPLE_DEV_PM_OPS(hdlcd_pm_ops, hdlcd_pm_suspend, hdlcd_pm_resume);
|
||||
|
||||
static struct platform_driver hdlcd_platform_driver = {
|
||||
.probe = hdlcd_probe,
|
||||
.remove_new = hdlcd_remove,
|
||||
.remove = hdlcd_remove,
|
||||
.shutdown = hdlcd_shutdown,
|
||||
.driver = {
|
||||
.name = "hdlcd",
|
||||
|
@ -988,7 +988,7 @@ static const struct dev_pm_ops malidp_pm_ops = {
|
||||
|
||||
static struct platform_driver malidp_platform_driver = {
|
||||
.probe = malidp_platform_probe,
|
||||
.remove_new = malidp_platform_remove,
|
||||
.remove = malidp_platform_remove,
|
||||
.shutdown = malidp_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "mali-dp",
|
||||
|
@ -1084,7 +1084,7 @@ MODULE_DEVICE_TABLE(platform, armada_lcd_platform_ids);
|
||||
|
||||
struct platform_driver armada_lcd_platform_driver = {
|
||||
.probe = armada_lcd_probe,
|
||||
.remove_new = armada_lcd_remove,
|
||||
.remove = armada_lcd_remove,
|
||||
.driver = {
|
||||
.name = "armada-lcd",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -250,7 +250,7 @@ MODULE_DEVICE_TABLE(platform, armada_drm_platform_ids);
|
||||
|
||||
static struct platform_driver armada_drm_platform_driver = {
|
||||
.probe = armada_drm_probe,
|
||||
.remove_new = armada_drm_remove,
|
||||
.remove = armada_drm_remove,
|
||||
.shutdown = armada_drm_shutdown,
|
||||
.driver = {
|
||||
.name = "armada-drm",
|
||||
|
@ -368,7 +368,7 @@ static void aspeed_gfx_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver aspeed_gfx_platform_driver = {
|
||||
.probe = aspeed_gfx_probe,
|
||||
.remove_new = aspeed_gfx_remove,
|
||||
.remove = aspeed_gfx_remove,
|
||||
.shutdown = aspeed_gfx_shutdown,
|
||||
.driver = {
|
||||
.name = "aspeed_gfx",
|
||||
|
@ -937,7 +937,7 @@ static const struct of_device_id atmel_hlcdc_dc_of_match[] = {
|
||||
|
||||
static struct platform_driver atmel_hlcdc_dc_platform_driver = {
|
||||
.probe = atmel_hlcdc_dc_drm_probe,
|
||||
.remove_new = atmel_hlcdc_dc_drm_remove,
|
||||
.remove = atmel_hlcdc_dc_drm_remove,
|
||||
.shutdown = atmel_hlcdc_dc_drm_shutdown,
|
||||
.driver = {
|
||||
.name = "atmel-hlcdc-display-controller",
|
||||
|
@ -1300,7 +1300,7 @@ MODULE_DEVICE_TABLE(of, cdns_dsi_of_match);
|
||||
|
||||
static struct platform_driver cdns_dsi_platform_driver = {
|
||||
.probe = cdns_dsi_drm_probe,
|
||||
.remove_new = cdns_dsi_drm_remove,
|
||||
.remove = cdns_dsi_drm_remove,
|
||||
.driver = {
|
||||
.name = "cdns-dsi",
|
||||
.of_match_table = cdns_dsi_of_match,
|
||||
|
@ -2656,7 +2656,7 @@ static struct platform_driver mhdp_driver = {
|
||||
.of_match_table = mhdp_ids,
|
||||
},
|
||||
.probe = cdns_mhdp_probe,
|
||||
.remove_new = cdns_mhdp_remove,
|
||||
.remove = cdns_mhdp_remove,
|
||||
};
|
||||
module_platform_driver(mhdp_driver);
|
||||
|
||||
|
@ -427,7 +427,7 @@ MODULE_DEVICE_TABLE(of, display_connector_match);
|
||||
|
||||
static struct platform_driver display_connector_driver = {
|
||||
.probe = display_connector_probe,
|
||||
.remove_new = display_connector_remove,
|
||||
.remove = display_connector_remove,
|
||||
.driver = {
|
||||
.name = "display-connector",
|
||||
.of_match_table = display_connector_match,
|
||||
|
@ -393,7 +393,7 @@ MODULE_DEVICE_TABLE(of, fsl_ldb_match);
|
||||
|
||||
static struct platform_driver fsl_ldb_driver = {
|
||||
.probe = fsl_ldb_probe,
|
||||
.remove_new = fsl_ldb_remove,
|
||||
.remove = fsl_ldb_remove,
|
||||
.driver = {
|
||||
.name = "fsl-ldb",
|
||||
.of_match_table = fsl_ldb_match,
|
||||
|
@ -193,7 +193,7 @@ MODULE_DEVICE_TABLE(of, imx8mp_hdmi_pvi_match);
|
||||
|
||||
static struct platform_driver imx8mp_hdmi_pvi_driver = {
|
||||
.probe = imx8mp_hdmi_pvi_probe,
|
||||
.remove_new = imx8mp_hdmi_pvi_remove,
|
||||
.remove = imx8mp_hdmi_pvi_remove,
|
||||
.driver = {
|
||||
.name = "imx-hdmi-pvi",
|
||||
.of_match_table = imx8mp_hdmi_pvi_match,
|
||||
|
@ -144,7 +144,7 @@ MODULE_DEVICE_TABLE(of, imx8mp_dw_hdmi_of_table);
|
||||
|
||||
static struct platform_driver imx8mp_dw_hdmi_platform_driver = {
|
||||
.probe = imx8mp_dw_hdmi_probe,
|
||||
.remove_new = imx8mp_dw_hdmi_remove,
|
||||
.remove = imx8mp_dw_hdmi_remove,
|
||||
.driver = {
|
||||
.name = "imx8mp-dw-hdmi-tx",
|
||||
.of_match_table = imx8mp_dw_hdmi_of_table,
|
||||
|
@ -570,7 +570,7 @@ MODULE_DEVICE_TABLE(of, imx8qm_ldb_dt_ids);
|
||||
|
||||
static struct platform_driver imx8qm_ldb_driver = {
|
||||
.probe = imx8qm_ldb_probe,
|
||||
.remove_new = imx8qm_ldb_remove,
|
||||
.remove = imx8qm_ldb_remove,
|
||||
.driver = {
|
||||
.pm = pm_ptr(&imx8qm_ldb_pm_ops),
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -706,7 +706,7 @@ MODULE_DEVICE_TABLE(of, imx8qxp_ldb_dt_ids);
|
||||
|
||||
static struct platform_driver imx8qxp_ldb_driver = {
|
||||
.probe = imx8qxp_ldb_probe,
|
||||
.remove_new = imx8qxp_ldb_remove,
|
||||
.remove = imx8qxp_ldb_remove,
|
||||
.driver = {
|
||||
.pm = pm_ptr(&imx8qxp_ldb_pm_ops),
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -427,7 +427,7 @@ MODULE_DEVICE_TABLE(of, imx8qxp_pc_dt_ids);
|
||||
|
||||
static struct platform_driver imx8qxp_pc_bridge_driver = {
|
||||
.probe = imx8qxp_pc_bridge_probe,
|
||||
.remove_new = imx8qxp_pc_bridge_remove,
|
||||
.remove = imx8qxp_pc_bridge_remove,
|
||||
.driver = {
|
||||
.pm = pm_ptr(&imx8qxp_pc_pm_ops),
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -409,7 +409,7 @@ MODULE_DEVICE_TABLE(of, imx8qxp_pixel_link_dt_ids);
|
||||
|
||||
static struct platform_driver imx8qxp_pixel_link_bridge_driver = {
|
||||
.probe = imx8qxp_pixel_link_bridge_probe,
|
||||
.remove_new = imx8qxp_pixel_link_bridge_remove,
|
||||
.remove = imx8qxp_pixel_link_bridge_remove,
|
||||
.driver = {
|
||||
.of_match_table = imx8qxp_pixel_link_dt_ids,
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -467,7 +467,7 @@ MODULE_DEVICE_TABLE(of, imx8qxp_pxl2dpi_dt_ids);
|
||||
|
||||
static struct platform_driver imx8qxp_pxl2dpi_bridge_driver = {
|
||||
.probe = imx8qxp_pxl2dpi_bridge_probe,
|
||||
.remove_new = imx8qxp_pxl2dpi_bridge_remove,
|
||||
.remove = imx8qxp_pxl2dpi_bridge_remove,
|
||||
.driver = {
|
||||
.of_match_table = imx8qxp_pxl2dpi_dt_ids,
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -904,7 +904,7 @@ MODULE_DEVICE_TABLE(of, imx93_dsi_dt_ids);
|
||||
|
||||
static struct platform_driver imx93_dsi_driver = {
|
||||
.probe = imx93_dsi_probe,
|
||||
.remove_new = imx93_dsi_remove,
|
||||
.remove = imx93_dsi_remove,
|
||||
.driver = {
|
||||
.of_match_table = imx93_dsi_dt_ids,
|
||||
.name = "imx93_mipi_dsi",
|
||||
|
@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, lvds_codec_match);
|
||||
|
||||
static struct platform_driver lvds_codec_driver = {
|
||||
.probe = lvds_codec_probe,
|
||||
.remove_new = lvds_codec_remove,
|
||||
.remove = lvds_codec_remove,
|
||||
.driver = {
|
||||
.name = "lvds-codec",
|
||||
.of_match_table = lvds_codec_match,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user