mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
usb: 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/usb 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://lore.kernel.org/r/20240924084329.53094-2-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f3c9fc2b3e
commit
9a0749d61a
@ -201,7 +201,7 @@ static void c67x00_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver c67x00_driver = {
|
||||
.probe = c67x00_drv_probe,
|
||||
.remove_new = c67x00_drv_remove,
|
||||
.remove = c67x00_drv_remove,
|
||||
.driver = {
|
||||
.name = "c67x00",
|
||||
},
|
||||
|
@ -422,7 +422,7 @@ MODULE_DEVICE_TABLE(of, cdns_imx_of_match);
|
||||
|
||||
static struct platform_driver cdns_imx_driver = {
|
||||
.probe = cdns_imx_probe,
|
||||
.remove_new = cdns_imx_remove,
|
||||
.remove = cdns_imx_remove,
|
||||
.driver = {
|
||||
.name = "cdns3-imx",
|
||||
.of_match_table = cdns_imx_of_match,
|
||||
|
@ -327,7 +327,7 @@ MODULE_DEVICE_TABLE(of, of_cdns3_match);
|
||||
|
||||
static struct platform_driver cdns3_driver = {
|
||||
.probe = cdns3_plat_probe,
|
||||
.remove_new = cdns3_plat_remove,
|
||||
.remove = cdns3_plat_remove,
|
||||
.driver = {
|
||||
.name = "cdns-usb3",
|
||||
.of_match_table = of_match_ptr(of_cdns3_match),
|
||||
|
@ -230,7 +230,7 @@ MODULE_DEVICE_TABLE(of, cdns_starfive_of_match);
|
||||
|
||||
static struct platform_driver cdns_starfive_driver = {
|
||||
.probe = cdns_starfive_probe,
|
||||
.remove_new = cdns_starfive_remove,
|
||||
.remove = cdns_starfive_remove,
|
||||
.driver = {
|
||||
.name = "cdns3-starfive",
|
||||
.of_match_table = cdns_starfive_of_match,
|
||||
|
@ -233,7 +233,7 @@ MODULE_DEVICE_TABLE(of, cdns_ti_of_match);
|
||||
|
||||
static struct platform_driver cdns_ti_driver = {
|
||||
.probe = cdns_ti_probe,
|
||||
.remove_new = cdns_ti_remove,
|
||||
.remove = cdns_ti_remove,
|
||||
.driver = {
|
||||
.name = "cdns3-ti",
|
||||
.of_match_table = cdns_ti_of_match,
|
||||
|
@ -675,7 +675,7 @@ static const struct dev_pm_ops ci_hdrc_imx_pm_ops = {
|
||||
};
|
||||
static struct platform_driver ci_hdrc_imx_driver = {
|
||||
.probe = ci_hdrc_imx_probe,
|
||||
.remove_new = ci_hdrc_imx_remove,
|
||||
.remove = ci_hdrc_imx_remove,
|
||||
.shutdown = ci_hdrc_imx_shutdown,
|
||||
.driver = {
|
||||
.name = "imx_usb",
|
||||
|
@ -292,7 +292,7 @@ MODULE_DEVICE_TABLE(of, msm_ci_dt_match);
|
||||
|
||||
static struct platform_driver ci_hdrc_msm_driver = {
|
||||
.probe = ci_hdrc_msm_probe,
|
||||
.remove_new = ci_hdrc_msm_remove,
|
||||
.remove = ci_hdrc_msm_remove,
|
||||
.driver = {
|
||||
.name = "msm_hsusb",
|
||||
.of_match_table = msm_ci_dt_match,
|
||||
|
@ -98,7 +98,7 @@ MODULE_DEVICE_TABLE(of, npcm_udc_dt_match);
|
||||
|
||||
static struct platform_driver npcm_udc_driver = {
|
||||
.probe = npcm_udc_probe,
|
||||
.remove_new = npcm_udc_remove,
|
||||
.remove = npcm_udc_remove,
|
||||
.driver = {
|
||||
.name = "npcm_udc",
|
||||
.of_match_table = npcm_udc_dt_match,
|
||||
|
@ -406,7 +406,7 @@ static struct platform_driver tegra_usb_driver = {
|
||||
.pm = pm_ptr(&tegra_usb_pm),
|
||||
},
|
||||
.probe = tegra_usb_probe,
|
||||
.remove_new = tegra_usb_remove,
|
||||
.remove = tegra_usb_remove,
|
||||
};
|
||||
module_platform_driver(tegra_usb_driver);
|
||||
|
||||
|
@ -116,7 +116,7 @@ static void ci_hdrc_usb2_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ci_hdrc_usb2_driver = {
|
||||
.probe = ci_hdrc_usb2_probe,
|
||||
.remove_new = ci_hdrc_usb2_remove,
|
||||
.remove = ci_hdrc_usb2_remove,
|
||||
.driver = {
|
||||
.name = "chipidea-usb2",
|
||||
.of_match_table = ci_hdrc_usb2_of_match,
|
||||
|
@ -1495,7 +1495,7 @@ static const struct dev_pm_ops ci_pm_ops = {
|
||||
|
||||
static struct platform_driver ci_hdrc_driver = {
|
||||
.probe = ci_hdrc_probe,
|
||||
.remove_new = ci_hdrc_remove,
|
||||
.remove = ci_hdrc_remove,
|
||||
.driver = {
|
||||
.name = "ci_hdrc",
|
||||
.pm = &ci_pm_ops,
|
||||
|
@ -340,7 +340,7 @@ MODULE_DEVICE_TABLE(of, usb_conn_dt_match);
|
||||
|
||||
static struct platform_driver usb_conn_driver = {
|
||||
.probe = usb_conn_probe,
|
||||
.remove_new = usb_conn_remove,
|
||||
.remove = usb_conn_remove,
|
||||
.driver = {
|
||||
.name = "usb-conn-gpio",
|
||||
.pm = &usb_conn_pm_ops,
|
||||
|
@ -756,7 +756,7 @@ static struct platform_driver dwc2_platform_driver = {
|
||||
.pm = &dwc2_dev_pm_ops,
|
||||
},
|
||||
.probe = dwc2_driver_probe,
|
||||
.remove_new = dwc2_driver_remove,
|
||||
.remove = dwc2_driver_remove,
|
||||
.shutdown = dwc2_driver_shutdown,
|
||||
};
|
||||
|
||||
|
@ -2619,7 +2619,7 @@ MODULE_DEVICE_TABLE(acpi, dwc3_acpi_match);
|
||||
|
||||
static struct platform_driver dwc3_driver = {
|
||||
.probe = dwc3_probe,
|
||||
.remove_new = dwc3_remove,
|
||||
.remove = dwc3_remove,
|
||||
.driver = {
|
||||
.name = "dwc3",
|
||||
.of_match_table = of_match_ptr(of_dwc3_match),
|
||||
|
@ -377,7 +377,7 @@ MODULE_DEVICE_TABLE(of, dwc3_ti_of_match);
|
||||
|
||||
static struct platform_driver dwc3_ti_driver = {
|
||||
.probe = dwc3_ti_probe,
|
||||
.remove_new = dwc3_ti_remove,
|
||||
.remove = dwc3_ti_remove,
|
||||
.driver = {
|
||||
.name = "dwc3-am62",
|
||||
.pm = DEV_PM_OPS,
|
||||
|
@ -243,7 +243,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(dwc3_exynos_dev_pm_ops,
|
||||
|
||||
static struct platform_driver dwc3_exynos_driver = {
|
||||
.probe = dwc3_exynos_probe,
|
||||
.remove_new = dwc3_exynos_remove,
|
||||
.remove = dwc3_exynos_remove,
|
||||
.driver = {
|
||||
.name = "exynos-dwc3",
|
||||
.of_match_table = exynos_dwc3_match,
|
||||
|
@ -400,7 +400,7 @@ MODULE_DEVICE_TABLE(of, dwc3_imx8mp_of_match);
|
||||
|
||||
static struct platform_driver dwc3_imx8mp_driver = {
|
||||
.probe = dwc3_imx8mp_probe,
|
||||
.remove_new = dwc3_imx8mp_remove,
|
||||
.remove = dwc3_imx8mp_remove,
|
||||
.driver = {
|
||||
.name = "imx8mp-dwc3",
|
||||
.pm = pm_ptr(&dwc3_imx8mp_dev_pm_ops),
|
||||
|
@ -208,7 +208,7 @@ MODULE_DEVICE_TABLE(of, kdwc3_of_match);
|
||||
|
||||
static struct platform_driver kdwc3_driver = {
|
||||
.probe = kdwc3_probe,
|
||||
.remove_new = kdwc3_remove,
|
||||
.remove = kdwc3_remove,
|
||||
.driver = {
|
||||
.name = "keystone-dwc3",
|
||||
.of_match_table = kdwc3_of_match,
|
||||
|
@ -968,7 +968,7 @@ MODULE_DEVICE_TABLE(of, dwc3_meson_g12a_match);
|
||||
|
||||
static struct platform_driver dwc3_meson_g12a_driver = {
|
||||
.probe = dwc3_meson_g12a_probe,
|
||||
.remove_new = dwc3_meson_g12a_remove,
|
||||
.remove = dwc3_meson_g12a_remove,
|
||||
.driver = {
|
||||
.name = "dwc3-meson-g12a",
|
||||
.of_match_table = dwc3_meson_g12a_match,
|
||||
|
@ -520,7 +520,7 @@ MODULE_DEVICE_TABLE(of, dwc3_octeon_of_match);
|
||||
|
||||
static struct platform_driver dwc3_octeon_driver = {
|
||||
.probe = dwc3_octeon_probe,
|
||||
.remove_new = dwc3_octeon_remove,
|
||||
.remove = dwc3_octeon_remove,
|
||||
.driver = {
|
||||
.name = "dwc3-octeon",
|
||||
.of_match_table = dwc3_octeon_of_match,
|
||||
|
@ -180,7 +180,7 @@ MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);
|
||||
|
||||
static struct platform_driver dwc3_of_simple_driver = {
|
||||
.probe = dwc3_of_simple_probe,
|
||||
.remove_new = dwc3_of_simple_remove,
|
||||
.remove = dwc3_of_simple_remove,
|
||||
.shutdown = dwc3_of_simple_shutdown,
|
||||
.driver = {
|
||||
.name = "dwc3-of-simple",
|
||||
|
@ -611,7 +611,7 @@ static const struct dev_pm_ops dwc3_omap_dev_pm_ops = {
|
||||
|
||||
static struct platform_driver dwc3_omap_driver = {
|
||||
.probe = dwc3_omap_probe,
|
||||
.remove_new = dwc3_omap_remove,
|
||||
.remove = dwc3_omap_remove,
|
||||
.driver = {
|
||||
.name = "omap-dwc3",
|
||||
.of_match_table = of_dwc3_match,
|
||||
|
@ -921,7 +921,7 @@ MODULE_DEVICE_TABLE(of, dwc3_qcom_of_match);
|
||||
|
||||
static struct platform_driver dwc3_qcom_driver = {
|
||||
.probe = dwc3_qcom_probe,
|
||||
.remove_new = dwc3_qcom_remove,
|
||||
.remove = dwc3_qcom_remove,
|
||||
.driver = {
|
||||
.name = "dwc3-qcom",
|
||||
.pm = &dwc3_qcom_dev_pm_ops,
|
||||
|
@ -441,7 +441,7 @@ static const struct dev_pm_ops dwc3_rtk_dev_pm_ops = {
|
||||
|
||||
static struct platform_driver dwc3_rtk_driver = {
|
||||
.probe = dwc3_rtk_probe,
|
||||
.remove_new = dwc3_rtk_remove,
|
||||
.remove = dwc3_rtk_remove,
|
||||
.driver = {
|
||||
.name = "rtk-dwc3",
|
||||
.of_match_table = rtk_dwc3_match,
|
||||
|
@ -356,7 +356,7 @@ MODULE_DEVICE_TABLE(of, st_dwc3_match);
|
||||
|
||||
static struct platform_driver st_dwc3_driver = {
|
||||
.probe = st_dwc3_probe,
|
||||
.remove_new = st_dwc3_remove,
|
||||
.remove = st_dwc3_remove,
|
||||
.driver = {
|
||||
.name = "usb-st-dwc3",
|
||||
.of_match_table = st_dwc3_match,
|
||||
|
@ -420,7 +420,7 @@ static const struct dev_pm_ops dwc3_xlnx_dev_pm_ops = {
|
||||
|
||||
static struct platform_driver dwc3_xlnx_driver = {
|
||||
.probe = dwc3_xlnx_probe,
|
||||
.remove_new = dwc3_xlnx_remove,
|
||||
.remove = dwc3_xlnx_remove,
|
||||
.driver = {
|
||||
.name = "dwc3-xilinx",
|
||||
.of_match_table = dwc3_xlnx_of_match,
|
||||
|
@ -195,7 +195,7 @@ static struct platform_driver fotg210_driver = {
|
||||
.of_match_table = of_match_ptr(fotg210_of_match),
|
||||
},
|
||||
.probe = fotg210_probe,
|
||||
.remove_new = fotg210_remove,
|
||||
.remove = fotg210_remove,
|
||||
};
|
||||
|
||||
static int __init fotg210_init(void)
|
||||
|
@ -261,7 +261,7 @@ static struct usb_composite_driver hidg_driver = {
|
||||
};
|
||||
|
||||
static struct platform_driver hidg_plat_driver = {
|
||||
.remove_new = hidg_plat_driver_remove,
|
||||
.remove = hidg_plat_driver_remove,
|
||||
.driver = {
|
||||
.name = "hidg",
|
||||
},
|
||||
|
@ -428,7 +428,7 @@ MODULE_DEVICE_TABLE(of, ast_vhub_dt_ids);
|
||||
|
||||
static struct platform_driver ast_vhub_driver = {
|
||||
.probe = ast_vhub_probe,
|
||||
.remove_new = ast_vhub_remove,
|
||||
.remove = ast_vhub_remove,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.of_match_table = ast_vhub_dt_ids,
|
||||
|
@ -1590,7 +1590,7 @@ MODULE_DEVICE_TABLE(of, ast_udc_of_dt_ids);
|
||||
|
||||
static struct platform_driver ast_udc_driver = {
|
||||
.probe = ast_udc_probe,
|
||||
.remove_new = ast_udc_remove,
|
||||
.remove = ast_udc_remove,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.of_match_table = ast_udc_of_dt_ids,
|
||||
|
@ -2002,7 +2002,7 @@ static int at91udc_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver at91_udc_driver = {
|
||||
.probe = at91udc_probe,
|
||||
.remove_new = at91udc_remove,
|
||||
.remove = at91udc_remove,
|
||||
.shutdown = at91udc_shutdown,
|
||||
.suspend = at91udc_suspend,
|
||||
.resume = at91udc_resume,
|
||||
|
@ -2444,7 +2444,7 @@ static SIMPLE_DEV_PM_OPS(usba_udc_pm_ops, usba_udc_suspend, usba_udc_resume);
|
||||
|
||||
static struct platform_driver udc_driver = {
|
||||
.probe = usba_udc_probe,
|
||||
.remove_new = usba_udc_remove,
|
||||
.remove = usba_udc_remove,
|
||||
.driver = {
|
||||
.name = "atmel_usba_udc",
|
||||
.pm = &usba_udc_pm_ops,
|
||||
|
@ -2367,7 +2367,7 @@ static void bcm63xx_udc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bcm63xx_udc_driver = {
|
||||
.probe = bcm63xx_udc_probe,
|
||||
.remove_new = bcm63xx_udc_remove,
|
||||
.remove = bcm63xx_udc_remove,
|
||||
.driver = {
|
||||
.name = DRV_MODULE_NAME,
|
||||
},
|
||||
|
@ -648,7 +648,7 @@ static struct platform_driver bdc_driver = {
|
||||
.of_match_table = bdc_of_match,
|
||||
},
|
||||
.probe = bdc_probe,
|
||||
.remove_new = bdc_remove,
|
||||
.remove = bdc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bdc_driver);
|
||||
|
@ -1151,7 +1151,7 @@ static int dummy_udc_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver dummy_udc_driver = {
|
||||
.probe = dummy_udc_probe,
|
||||
.remove_new = dummy_udc_remove,
|
||||
.remove = dummy_udc_remove,
|
||||
.suspend = dummy_udc_suspend,
|
||||
.resume = dummy_udc_resume,
|
||||
.driver = {
|
||||
@ -2759,7 +2759,7 @@ static int dummy_hcd_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver dummy_hcd_driver = {
|
||||
.probe = dummy_hcd_probe,
|
||||
.remove_new = dummy_hcd_remove,
|
||||
.remove = dummy_hcd_remove,
|
||||
.suspend = dummy_hcd_suspend,
|
||||
.resume = dummy_hcd_resume,
|
||||
.driver = {
|
||||
|
@ -2704,7 +2704,7 @@ static struct platform_driver udc_driver = {
|
||||
.of_match_table = qe_udc_match,
|
||||
},
|
||||
.probe = qe_udc_probe,
|
||||
.remove_new = qe_udc_remove,
|
||||
.remove = qe_udc_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = qe_udc_suspend,
|
||||
.resume = qe_udc_resume,
|
||||
|
@ -2685,7 +2685,7 @@ MODULE_DEVICE_TABLE(of, fsl_udc_dt_ids);
|
||||
|
||||
static struct platform_driver udc_driver = {
|
||||
.probe = fsl_udc_probe,
|
||||
.remove_new = fsl_udc_remove,
|
||||
.remove = fsl_udc_remove,
|
||||
.id_table = fsl_udc_devtype,
|
||||
/* these suspend and resume are not usb suspend and resume */
|
||||
.suspend = fsl_udc_suspend,
|
||||
|
@ -1507,7 +1507,7 @@ static int fusb300_probe(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver fusb300_driver = {
|
||||
.probe = fusb300_probe,
|
||||
.remove_new = fusb300_remove,
|
||||
.remove = fusb300_remove,
|
||||
.driver = {
|
||||
.name = udc_name,
|
||||
},
|
||||
|
@ -2249,7 +2249,7 @@ static struct platform_driver gr_driver = {
|
||||
.of_match_table = gr_match,
|
||||
},
|
||||
.probe = gr_probe,
|
||||
.remove_new = gr_remove,
|
||||
.remove = gr_remove,
|
||||
};
|
||||
module_platform_driver(gr_driver);
|
||||
|
||||
|
@ -3249,7 +3249,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_udc_of_match);
|
||||
|
||||
static struct platform_driver lpc32xx_udc_driver = {
|
||||
.probe = lpc32xx_udc_probe,
|
||||
.remove_new = lpc32xx_udc_remove,
|
||||
.remove = lpc32xx_udc_remove,
|
||||
.shutdown = lpc32xx_udc_shutdown,
|
||||
.suspend = lpc32xx_udc_suspend,
|
||||
.resume = lpc32xx_udc_resume,
|
||||
|
@ -1688,7 +1688,7 @@ static int m66592_probe(struct platform_device *pdev)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static struct platform_driver m66592_driver = {
|
||||
.probe = m66592_probe,
|
||||
.remove_new = m66592_remove,
|
||||
.remove = m66592_remove,
|
||||
.driver = {
|
||||
.name = udc_name,
|
||||
},
|
||||
|
@ -2047,7 +2047,7 @@ static void mv_u3d_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver mv_u3d_driver = {
|
||||
.probe = mv_u3d_probe,
|
||||
.remove_new = mv_u3d_remove,
|
||||
.remove = mv_u3d_remove,
|
||||
.shutdown = mv_u3d_shutdown,
|
||||
.driver = {
|
||||
.name = "mv-u3d",
|
||||
|
@ -2409,7 +2409,7 @@ static void mv_udc_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver udc_driver = {
|
||||
.probe = mv_udc_probe,
|
||||
.remove_new = mv_udc_remove,
|
||||
.remove = mv_udc_remove,
|
||||
.shutdown = mv_udc_shutdown,
|
||||
.driver = {
|
||||
.name = "mv-udc",
|
||||
|
@ -2685,7 +2685,7 @@ net2272_plat_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver net2272_plat_driver = {
|
||||
.probe = net2272_plat_probe,
|
||||
.remove_new = net2272_plat_remove,
|
||||
.remove = net2272_plat_remove,
|
||||
.driver = {
|
||||
.name = driver_name,
|
||||
},
|
||||
|
@ -2980,7 +2980,7 @@ static int omap_udc_resume(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver udc_driver = {
|
||||
.probe = omap_udc_probe,
|
||||
.remove_new = omap_udc_remove,
|
||||
.remove = omap_udc_remove,
|
||||
.suspend = omap_udc_suspend,
|
||||
.resume = omap_udc_resume,
|
||||
.driver = {
|
||||
|
@ -2474,7 +2474,7 @@ static int pxa25x_udc_resume(struct platform_device *dev)
|
||||
static struct platform_driver udc_driver = {
|
||||
.shutdown = pxa25x_udc_shutdown,
|
||||
.probe = pxa25x_udc_probe,
|
||||
.remove_new = pxa25x_udc_remove,
|
||||
.remove = pxa25x_udc_remove,
|
||||
.suspend = pxa25x_udc_suspend,
|
||||
.resume = pxa25x_udc_resume,
|
||||
.driver = {
|
||||
|
@ -2538,7 +2538,7 @@ static struct platform_driver udc_driver = {
|
||||
.of_match_table = of_match_ptr(udc_pxa_dt_ids),
|
||||
},
|
||||
.probe = pxa_udc_probe,
|
||||
.remove_new = pxa_udc_remove,
|
||||
.remove = pxa_udc_remove,
|
||||
.shutdown = pxa_udc_shutdown,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = pxa_udc_suspend,
|
||||
|
@ -1965,7 +1965,7 @@ static int r8a66597_probe(struct platform_device *pdev)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static struct platform_driver r8a66597_driver = {
|
||||
.probe = r8a66597_probe,
|
||||
.remove_new = r8a66597_remove,
|
||||
.remove = r8a66597_remove,
|
||||
.driver = {
|
||||
.name = udc_name,
|
||||
},
|
||||
|
@ -3013,7 +3013,7 @@ static SIMPLE_DEV_PM_OPS(renesas_usb3_pm_ops, renesas_usb3_suspend,
|
||||
|
||||
static struct platform_driver renesas_usb3_driver = {
|
||||
.probe = renesas_usb3_probe,
|
||||
.remove_new = renesas_usb3_remove,
|
||||
.remove = renesas_usb3_remove,
|
||||
.driver = {
|
||||
.name = udc_name,
|
||||
.pm = &renesas_usb3_pm_ops,
|
||||
|
@ -3381,7 +3381,7 @@ static struct platform_driver udc_driver = {
|
||||
.of_match_table = usbf_match,
|
||||
},
|
||||
.probe = usbf_probe,
|
||||
.remove_new = usbf_remove,
|
||||
.remove = usbf_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(udc_driver);
|
||||
|
@ -127,7 +127,7 @@ static struct platform_driver rzv2m_usb3drd_driver = {
|
||||
.of_match_table = rzv2m_usb3drd_of_match,
|
||||
},
|
||||
.probe = rzv2m_usb3drd_probe,
|
||||
.remove_new = rzv2m_usb3drd_remove,
|
||||
.remove = rzv2m_usb3drd_remove,
|
||||
};
|
||||
module_platform_driver(rzv2m_usb3drd_driver);
|
||||
|
||||
|
@ -309,7 +309,7 @@ MODULE_DEVICE_TABLE(of, of_udc_match);
|
||||
|
||||
static struct platform_driver udc_plat_driver = {
|
||||
.probe = udc_plat_probe,
|
||||
.remove_new = udc_plat_remove,
|
||||
.remove = udc_plat_remove,
|
||||
.driver = {
|
||||
.name = "snps-udc-plat",
|
||||
.of_match_table = of_udc_match,
|
||||
|
@ -4071,7 +4071,7 @@ static const struct dev_pm_ops tegra_xudc_pm_ops = {
|
||||
|
||||
static struct platform_driver tegra_xudc_driver = {
|
||||
.probe = tegra_xudc_probe,
|
||||
.remove_new = tegra_xudc_remove,
|
||||
.remove = tegra_xudc_remove,
|
||||
.driver = {
|
||||
.name = "tegra-xudc",
|
||||
.pm = &tegra_xudc_pm_ops,
|
||||
|
@ -2258,7 +2258,7 @@ static struct platform_driver xudc_driver = {
|
||||
.pm = &xudc_pm_ops,
|
||||
},
|
||||
.probe = xudc_probe,
|
||||
.remove_new = xudc_remove,
|
||||
.remove = xudc_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(xudc_driver);
|
||||
|
@ -220,7 +220,7 @@ static SIMPLE_DEV_PM_OPS(ehci_atmel_pm_ops, ehci_atmel_drv_suspend,
|
||||
|
||||
static struct platform_driver ehci_atmel_driver = {
|
||||
.probe = ehci_atmel_drv_probe,
|
||||
.remove_new = ehci_atmel_drv_remove,
|
||||
.remove = ehci_atmel_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "atmel-ehci",
|
||||
|
@ -250,7 +250,7 @@ MODULE_DEVICE_TABLE(of, brcm_ehci_of_match);
|
||||
|
||||
static struct platform_driver ehci_brcm_driver = {
|
||||
.probe = ehci_brcm_probe,
|
||||
.remove_new = ehci_brcm_remove,
|
||||
.remove = ehci_brcm_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "ehci-brcm",
|
||||
|
@ -288,7 +288,7 @@ MODULE_DEVICE_TABLE(of, exynos_ehci_match);
|
||||
|
||||
static struct platform_driver exynos_ehci_driver = {
|
||||
.probe = exynos_ehci_probe,
|
||||
.remove_new = exynos_ehci_remove,
|
||||
.remove = exynos_ehci_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "exynos-ehci",
|
||||
|
@ -706,7 +706,7 @@ static void fsl_ehci_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ehci_fsl_driver = {
|
||||
.probe = fsl_ehci_drv_probe,
|
||||
.remove_new = fsl_ehci_drv_remove,
|
||||
.remove = fsl_ehci_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
|
@ -168,7 +168,7 @@ MODULE_DEVICE_TABLE(of, ehci_hcd_grlib_of_match);
|
||||
|
||||
static struct platform_driver ehci_grlib_driver = {
|
||||
.probe = ehci_hcd_grlib_probe,
|
||||
.remove_new = ehci_hcd_grlib_remove,
|
||||
.remove = ehci_hcd_grlib_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "grlib-ehci",
|
||||
|
@ -279,7 +279,7 @@ static const struct of_device_id ehci_mv_dt_ids[] = {
|
||||
|
||||
static struct platform_driver ehci_mv_driver = {
|
||||
.probe = mv_ehci_probe,
|
||||
.remove_new = mv_ehci_remove,
|
||||
.remove = mv_ehci_remove,
|
||||
.shutdown = mv_ehci_shutdown,
|
||||
.driver = {
|
||||
.name = "mv-ehci",
|
||||
|
@ -122,7 +122,7 @@ MODULE_DEVICE_TABLE(of, npcm7xx_ehci_id_table);
|
||||
|
||||
static struct platform_driver npcm7xx_ehci_hcd_driver = {
|
||||
.probe = npcm7xx_ehci_hcd_drv_probe,
|
||||
.remove_new = npcm7xx_ehci_hcd_drv_remove,
|
||||
.remove = npcm7xx_ehci_hcd_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "npcm7xx-ehci",
|
||||
|
@ -264,7 +264,7 @@ MODULE_DEVICE_TABLE(of, omap_ehci_dt_ids);
|
||||
|
||||
static struct platform_driver ehci_hcd_omap_driver = {
|
||||
.probe = ehci_hcd_omap_probe,
|
||||
.remove_new = ehci_hcd_omap_remove,
|
||||
.remove = ehci_hcd_omap_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
/*.suspend = ehci_hcd_omap_suspend, */
|
||||
/*.resume = ehci_hcd_omap_resume, */
|
||||
|
@ -352,7 +352,7 @@ MODULE_DEVICE_TABLE(of, ehci_orion_dt_ids);
|
||||
|
||||
static struct platform_driver ehci_orion_driver = {
|
||||
.probe = ehci_orion_drv_probe,
|
||||
.remove_new = ehci_orion_drv_remove,
|
||||
.remove = ehci_orion_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "orion-ehci",
|
||||
|
@ -508,7 +508,7 @@ static SIMPLE_DEV_PM_OPS(ehci_platform_pm_ops, ehci_platform_suspend,
|
||||
static struct platform_driver ehci_platform_driver = {
|
||||
.id_table = ehci_platform_table,
|
||||
.probe = ehci_platform_probe,
|
||||
.remove_new = ehci_platform_remove,
|
||||
.remove = ehci_platform_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "ehci-platform",
|
||||
|
@ -230,7 +230,7 @@ MODULE_DEVICE_TABLE(of, ehci_hcd_ppc_of_match);
|
||||
|
||||
static struct platform_driver ehci_hcd_ppc_of_driver = {
|
||||
.probe = ehci_hcd_ppc_of_probe,
|
||||
.remove_new = ehci_hcd_ppc_of_remove,
|
||||
.remove = ehci_hcd_ppc_of_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "ppc-of-ehci",
|
||||
|
@ -169,7 +169,7 @@ static void ehci_hcd_sh_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ehci_hcd_sh_driver = {
|
||||
.probe = ehci_hcd_sh_probe,
|
||||
.remove_new = ehci_hcd_sh_remove,
|
||||
.remove = ehci_hcd_sh_remove,
|
||||
.shutdown = ehci_hcd_sh_shutdown,
|
||||
.driver = {
|
||||
.name = "sh_ehci",
|
||||
|
@ -143,7 +143,7 @@ MODULE_DEVICE_TABLE(of, spear_ehci_id_table);
|
||||
|
||||
static struct platform_driver spear_ehci_hcd_driver = {
|
||||
.probe = spear_ehci_hcd_drv_probe,
|
||||
.remove_new = spear_ehci_hcd_drv_remove,
|
||||
.remove = spear_ehci_hcd_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "spear-ehci",
|
||||
|
@ -320,7 +320,7 @@ MODULE_DEVICE_TABLE(of, st_ehci_ids);
|
||||
|
||||
static struct platform_driver ehci_platform_driver = {
|
||||
.probe = st_ehci_platform_probe,
|
||||
.remove_new = st_ehci_platform_remove,
|
||||
.remove = st_ehci_platform_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "st-ehci",
|
||||
|
@ -220,7 +220,7 @@ MODULE_DEVICE_TABLE(of, ehci_hcd_xilinx_of_match);
|
||||
|
||||
static struct platform_driver ehci_hcd_xilinx_of_driver = {
|
||||
.probe = ehci_hcd_xilinx_of_probe,
|
||||
.remove_new = ehci_hcd_xilinx_of_remove,
|
||||
.remove = ehci_hcd_xilinx_of_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "xilinx-of-ehci",
|
||||
|
@ -791,7 +791,7 @@ static struct platform_driver of_fhci_driver = {
|
||||
.of_match_table = of_fhci_match,
|
||||
},
|
||||
.probe = of_fhci_probe,
|
||||
.remove_new = of_fhci_remove,
|
||||
.remove = of_fhci_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(of_fhci_driver);
|
||||
|
@ -362,7 +362,7 @@ static struct platform_driver fsl_usb2_mph_dr_driver = {
|
||||
.of_match_table = fsl_usb2_mph_dr_of_match,
|
||||
},
|
||||
.probe = fsl_usb2_mph_dr_of_probe,
|
||||
.remove_new = fsl_usb2_mph_dr_of_remove,
|
||||
.remove = fsl_usb2_mph_dr_of_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(fsl_usb2_mph_dr_driver);
|
||||
|
@ -1684,7 +1684,7 @@ MODULE_ALIAS("platform:isp116x-hcd");
|
||||
|
||||
static struct platform_driver isp116x_driver = {
|
||||
.probe = isp116x_probe,
|
||||
.remove_new = isp116x_remove,
|
||||
.remove = isp116x_remove,
|
||||
.suspend = isp116x_suspend,
|
||||
.resume = isp116x_resume,
|
||||
.driver = {
|
||||
|
@ -2757,7 +2757,7 @@ static int isp1362_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver isp1362_driver = {
|
||||
.probe = isp1362_probe,
|
||||
.remove_new = isp1362_remove,
|
||||
.remove = isp1362_remove,
|
||||
|
||||
.suspend = isp1362_suspend,
|
||||
.resume = isp1362_resume,
|
||||
|
@ -3711,8 +3711,8 @@ static struct platform_driver octeon_usb_driver = {
|
||||
.name = "octeon-hcd",
|
||||
.of_match_table = octeon_usb_match,
|
||||
},
|
||||
.probe = octeon_usb_probe,
|
||||
.remove_new = octeon_usb_remove,
|
||||
.probe = octeon_usb_probe,
|
||||
.remove = octeon_usb_remove,
|
||||
};
|
||||
|
||||
static int __init octeon_usb_driver_init(void)
|
||||
|
@ -685,7 +685,7 @@ static SIMPLE_DEV_PM_OPS(ohci_hcd_at91_pm_ops, ohci_hcd_at91_drv_suspend,
|
||||
|
||||
static struct platform_driver ohci_hcd_at91_driver = {
|
||||
.probe = ohci_hcd_at91_drv_probe,
|
||||
.remove_new = ohci_hcd_at91_drv_remove,
|
||||
.remove = ohci_hcd_at91_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "at91_ohci",
|
||||
|
@ -531,7 +531,7 @@ static const struct ohci_driver_overrides da8xx_overrides __initconst = {
|
||||
*/
|
||||
static struct platform_driver ohci_hcd_da8xx_driver = {
|
||||
.probe = ohci_da8xx_probe,
|
||||
.remove_new = ohci_da8xx_remove,
|
||||
.remove = ohci_da8xx_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = ohci_da8xx_suspend,
|
||||
|
@ -262,7 +262,7 @@ MODULE_DEVICE_TABLE(of, exynos_ohci_match);
|
||||
|
||||
static struct platform_driver exynos_ohci_driver = {
|
||||
.probe = exynos_ohci_probe,
|
||||
.remove_new = exynos_ohci_remove,
|
||||
.remove = exynos_ohci_remove,
|
||||
.shutdown = exynos_ohci_shutdown,
|
||||
.driver = {
|
||||
.name = "exynos-ohci",
|
||||
|
@ -254,7 +254,7 @@ static struct platform_driver ohci_hcd_nxp_driver = {
|
||||
.of_match_table = of_match_ptr(ohci_hcd_nxp_match),
|
||||
},
|
||||
.probe = ohci_hcd_nxp_probe,
|
||||
.remove_new = ohci_hcd_nxp_remove,
|
||||
.remove = ohci_hcd_nxp_remove,
|
||||
};
|
||||
|
||||
static int __init ohci_nxp_init(void)
|
||||
|
@ -390,7 +390,7 @@ static int ohci_omap_resume(struct platform_device *dev)
|
||||
*/
|
||||
static struct platform_driver ohci_hcd_omap_driver = {
|
||||
.probe = ohci_hcd_omap_probe,
|
||||
.remove_new = ohci_hcd_omap_remove,
|
||||
.remove = ohci_hcd_omap_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = ohci_omap_suspend,
|
||||
|
@ -344,7 +344,7 @@ static const struct dev_pm_ops ohci_platform_pm_ops = {
|
||||
static struct platform_driver ohci_platform_driver = {
|
||||
.id_table = ohci_platform_table,
|
||||
.probe = ohci_platform_probe,
|
||||
.remove_new = ohci_platform_remove,
|
||||
.remove = ohci_platform_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "ohci-platform",
|
||||
|
@ -219,7 +219,7 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_ppc_of_match);
|
||||
|
||||
static struct platform_driver ohci_hcd_ppc_of_driver = {
|
||||
.probe = ohci_hcd_ppc_of_probe,
|
||||
.remove_new = ohci_hcd_ppc_of_remove,
|
||||
.remove = ohci_hcd_ppc_of_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "ppc-of-ohci",
|
||||
|
@ -569,7 +569,7 @@ static const struct dev_pm_ops ohci_hcd_pxa27x_pm_ops = {
|
||||
|
||||
static struct platform_driver ohci_hcd_pxa27x_driver = {
|
||||
.probe = ohci_hcd_pxa27x_probe,
|
||||
.remove_new = ohci_hcd_pxa27x_remove,
|
||||
.remove = ohci_hcd_pxa27x_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "pxa27x-ohci",
|
||||
|
@ -457,7 +457,7 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_s3c2410_dt_ids);
|
||||
|
||||
static struct platform_driver ohci_hcd_s3c2410_driver = {
|
||||
.probe = ohci_hcd_s3c2410_probe,
|
||||
.remove_new = ohci_hcd_s3c2410_remove,
|
||||
.remove = ohci_hcd_s3c2410_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "s3c2410-ohci",
|
||||
|
@ -252,7 +252,7 @@ static int ohci_sm501_resume(struct platform_device *pdev)
|
||||
*/
|
||||
static struct platform_driver ohci_hcd_sm501_driver = {
|
||||
.probe = ohci_hcd_sm501_drv_probe,
|
||||
.remove_new = ohci_hcd_sm501_drv_remove,
|
||||
.remove = ohci_hcd_sm501_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.suspend = ohci_sm501_suspend,
|
||||
.resume = ohci_sm501_resume,
|
||||
|
@ -157,7 +157,7 @@ MODULE_DEVICE_TABLE(of, spear_ohci_id_table);
|
||||
/* Driver definition to register with the platform bus */
|
||||
static struct platform_driver spear_ohci_hcd_driver = {
|
||||
.probe = spear_ohci_hcd_drv_probe,
|
||||
.remove_new = spear_ohci_hcd_drv_remove,
|
||||
.remove = spear_ohci_hcd_drv_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = spear_ohci_hcd_drv_suspend,
|
||||
.resume = spear_ohci_hcd_drv_resume,
|
||||
|
@ -298,7 +298,7 @@ MODULE_DEVICE_TABLE(of, st_ohci_platform_ids);
|
||||
|
||||
static struct platform_driver ohci_platform_driver = {
|
||||
.probe = st_ohci_platform_probe,
|
||||
.remove_new = st_ohci_platform_remove,
|
||||
.remove = st_ohci_platform_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "st-ohci",
|
||||
|
@ -4289,7 +4289,7 @@ static int oxu_drv_resume(struct device *dev)
|
||||
|
||||
static struct platform_driver oxu_driver = {
|
||||
.probe = oxu_drv_probe,
|
||||
.remove_new = oxu_drv_remove,
|
||||
.remove = oxu_drv_remove,
|
||||
.shutdown = oxu_drv_shutdown,
|
||||
.suspend = oxu_drv_suspend,
|
||||
.resume = oxu_drv_resume,
|
||||
|
@ -2510,7 +2510,7 @@ static int r8a66597_probe(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver r8a66597_driver = {
|
||||
.probe = r8a66597_probe,
|
||||
.remove_new = r8a66597_remove,
|
||||
.remove = r8a66597_remove,
|
||||
.driver = {
|
||||
.name = hcd_name,
|
||||
.pm = R8A66597_DEV_PM_OPS,
|
||||
|
@ -1784,7 +1784,7 @@ sl811h_resume(struct platform_device *dev)
|
||||
/* this driver is exported so sl811_cs can depend on it */
|
||||
struct platform_driver sl811h_driver = {
|
||||
.probe = sl811h_probe,
|
||||
.remove_new = sl811h_remove,
|
||||
.remove = sl811h_remove,
|
||||
|
||||
.suspend = sl811h_suspend,
|
||||
.resume = sl811h_resume,
|
||||
|
@ -184,7 +184,7 @@ MODULE_DEVICE_TABLE(of, uhci_hcd_grlib_of_match);
|
||||
|
||||
static struct platform_driver uhci_grlib_driver = {
|
||||
.probe = uhci_hcd_grlib_probe,
|
||||
.remove_new = uhci_hcd_grlib_remove,
|
||||
.remove = uhci_hcd_grlib_remove,
|
||||
.shutdown = uhci_hcd_grlib_shutdown,
|
||||
.driver = {
|
||||
.name = "grlib-uhci",
|
||||
|
@ -184,7 +184,7 @@ MODULE_DEVICE_TABLE(of, platform_uhci_ids);
|
||||
|
||||
static struct platform_driver uhci_platform_driver = {
|
||||
.probe = uhci_hcd_platform_probe,
|
||||
.remove_new = uhci_hcd_platform_remove,
|
||||
.remove = uhci_hcd_platform_remove,
|
||||
.shutdown = uhci_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "platform-uhci",
|
||||
|
@ -373,7 +373,7 @@ MODULE_DEVICE_TABLE(of, histb_xhci_of_match);
|
||||
|
||||
static struct platform_driver histb_xhci_driver = {
|
||||
.probe = xhci_histb_probe,
|
||||
.remove_new = xhci_histb_remove,
|
||||
.remove = xhci_histb_remove,
|
||||
.driver = {
|
||||
.name = "xhci-histb",
|
||||
.pm = DEV_PM_OPS,
|
||||
|
@ -853,7 +853,7 @@ MODULE_DEVICE_TABLE(of, mtk_xhci_of_match);
|
||||
|
||||
static struct platform_driver mtk_xhci_driver = {
|
||||
.probe = xhci_mtk_probe,
|
||||
.remove_new = xhci_mtk_remove,
|
||||
.remove = xhci_mtk_remove,
|
||||
.driver = {
|
||||
.name = "xhci-mtk",
|
||||
.pm = DEV_PM_OPS,
|
||||
|
@ -573,7 +573,7 @@ MODULE_DEVICE_TABLE(acpi, usb_xhci_acpi_match);
|
||||
|
||||
static struct platform_driver usb_generic_xhci_driver = {
|
||||
.probe = xhci_generic_plat_probe,
|
||||
.remove_new = xhci_plat_remove,
|
||||
.remove = xhci_plat_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "xhci-hcd",
|
||||
|
@ -274,7 +274,7 @@ static int xhci_renesas_probe(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver usb_xhci_renesas_driver = {
|
||||
.probe = xhci_renesas_probe,
|
||||
.remove_new = xhci_plat_remove,
|
||||
.remove = xhci_plat_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "xhci-renesas-hcd",
|
||||
|
@ -2664,7 +2664,7 @@ MODULE_DEVICE_TABLE(of, tegra_xusb_of_match);
|
||||
|
||||
static struct platform_driver tegra_xusb_driver = {
|
||||
.probe = tegra_xusb_probe,
|
||||
.remove_new = tegra_xusb_remove,
|
||||
.remove = tegra_xusb_remove,
|
||||
.shutdown = tegra_xusb_shutdown,
|
||||
.driver = {
|
||||
.name = "tegra-xusb",
|
||||
|
@ -263,7 +263,7 @@ MODULE_DEVICE_TABLE(of, isp1760_of_match);
|
||||
|
||||
static struct platform_driver isp1760_plat_driver = {
|
||||
.probe = isp1760_plat_probe,
|
||||
.remove_new = isp1760_plat_remove,
|
||||
.remove = isp1760_plat_remove,
|
||||
.driver = {
|
||||
.name = "isp1760",
|
||||
.of_match_table = of_match_ptr(isp1760_of_match),
|
||||
|
@ -471,7 +471,7 @@ static const struct dev_pm_ops __maybe_unused onboard_dev_pm_ops = {
|
||||
|
||||
static struct platform_driver onboard_dev_driver = {
|
||||
.probe = onboard_dev_probe,
|
||||
.remove_new = onboard_dev_remove,
|
||||
.remove = onboard_dev_remove,
|
||||
|
||||
.driver = {
|
||||
.name = "onboard-usb-dev",
|
||||
|
@ -239,7 +239,7 @@ MODULE_DEVICE_TABLE(of, eud_dt_match);
|
||||
|
||||
static struct platform_driver eud_driver = {
|
||||
.probe = eud_probe,
|
||||
.remove_new = eud_remove,
|
||||
.remove = eud_remove,
|
||||
.driver = {
|
||||
.name = "qcom_eud",
|
||||
.dev_groups = eud_groups,
|
||||
|
@ -423,7 +423,7 @@ static struct platform_driver usb3503_platform_driver = {
|
||||
.pm = pm_ptr(&usb3503_platform_pm_ops),
|
||||
},
|
||||
.probe = usb3503_platform_probe,
|
||||
.remove_new = usb3503_platform_remove,
|
||||
.remove = usb3503_platform_remove,
|
||||
};
|
||||
|
||||
static int __init usb3503_init(void)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user