usb: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 24 Sep 2024 08:43:29 +0000 (10:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 13:13:03 +0000 (15:13 +0200)
After commit 0edb555a65d1 ("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>
133 files changed:
drivers/usb/c67x00/c67x00-drv.c
drivers/usb/cdns3/cdns3-imx.c
drivers/usb/cdns3/cdns3-plat.c
drivers/usb/cdns3/cdns3-starfive.c
drivers/usb/cdns3/cdns3-ti.c
drivers/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/ci_hdrc_msm.c
drivers/usb/chipidea/ci_hdrc_npcm.c
drivers/usb/chipidea/ci_hdrc_tegra.c
drivers/usb/chipidea/ci_hdrc_usb2.c
drivers/usb/chipidea/core.c
drivers/usb/common/usb-conn-gpio.c
drivers/usb/dwc2/platform.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-am62.c
drivers/usb/dwc3/dwc3-exynos.c
drivers/usb/dwc3/dwc3-imx8mp.c
drivers/usb/dwc3/dwc3-keystone.c
drivers/usb/dwc3/dwc3-meson-g12a.c
drivers/usb/dwc3/dwc3-octeon.c
drivers/usb/dwc3/dwc3-of-simple.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/dwc3/dwc3-qcom.c
drivers/usb/dwc3/dwc3-rtk.c
drivers/usb/dwc3/dwc3-st.c
drivers/usb/dwc3/dwc3-xilinx.c
drivers/usb/fotg210/fotg210-core.c
drivers/usb/gadget/legacy/hid.c
drivers/usb/gadget/udc/aspeed-vhub/core.c
drivers/usb/gadget/udc/aspeed_udc.c
drivers/usb/gadget/udc/at91_udc.c
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/gadget/udc/bcm63xx_udc.c
drivers/usb/gadget/udc/bdc/bdc_core.c
drivers/usb/gadget/udc/dummy_hcd.c
drivers/usb/gadget/udc/fsl_qe_udc.c
drivers/usb/gadget/udc/fsl_udc_core.c
drivers/usb/gadget/udc/fusb300_udc.c
drivers/usb/gadget/udc/gr_udc.c
drivers/usb/gadget/udc/lpc32xx_udc.c
drivers/usb/gadget/udc/m66592-udc.c
drivers/usb/gadget/udc/mv_u3d_core.c
drivers/usb/gadget/udc/mv_udc_core.c
drivers/usb/gadget/udc/net2272.c
drivers/usb/gadget/udc/omap_udc.c
drivers/usb/gadget/udc/pxa25x_udc.c
drivers/usb/gadget/udc/pxa27x_udc.c
drivers/usb/gadget/udc/r8a66597-udc.c
drivers/usb/gadget/udc/renesas_usb3.c
drivers/usb/gadget/udc/renesas_usbf.c
drivers/usb/gadget/udc/rzv2m_usb3drd.c
drivers/usb/gadget/udc/snps_udc_plat.c
drivers/usb/gadget/udc/tegra-xudc.c
drivers/usb/gadget/udc/udc-xilinx.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-brcm.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-grlib.c
drivers/usb/host/ehci-mv.c
drivers/usb/host/ehci-npcm7xx.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-orion.c
drivers/usb/host/ehci-platform.c
drivers/usb/host/ehci-ppc-of.c
drivers/usb/host/ehci-sh.c
drivers/usb/host/ehci-spear.c
drivers/usb/host/ehci-st.c
drivers/usb/host/ehci-xilinx-of.c
drivers/usb/host/fhci-hcd.c
drivers/usb/host/fsl-mph-dr-of.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/octeon-hcd.c
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-exynos.c
drivers/usb/host/ohci-nxp.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-platform.c
drivers/usb/host/ohci-ppc-of.c
drivers/usb/host/ohci-pxa27x.c
drivers/usb/host/ohci-s3c2410.c
drivers/usb/host/ohci-sm501.c
drivers/usb/host/ohci-spear.c
drivers/usb/host/ohci-st.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/usb/host/uhci-grlib.c
drivers/usb/host/uhci-platform.c
drivers/usb/host/xhci-histb.c
drivers/usb/host/xhci-mtk.c
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci-rcar.c
drivers/usb/host/xhci-tegra.c
drivers/usb/isp1760/isp1760-if.c
drivers/usb/misc/onboard_usb_dev.c
drivers/usb/misc/qcom_eud.c
drivers/usb/misc/usb3503.c
drivers/usb/mtu3/mtu3_plat.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/jz4740.c
drivers/usb/musb/mediatek.c
drivers/usb/musb/mpfs.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_dsps.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/sunxi.c
drivers/usb/musb/tusb6010.c
drivers/usb/musb/ux500.c
drivers/usb/phy/phy-ab8500-usb.c
drivers/usb/phy/phy-am335x.c
drivers/usb/phy/phy-fsl-usb.c
drivers/usb/phy/phy-generic.c
drivers/usb/phy/phy-gpio-vbus-usb.c
drivers/usb/phy/phy-keystone.c
drivers/usb/phy/phy-mv-usb.c
drivers/usb/phy/phy-mxs-usb.c
drivers/usb/phy/phy-tahvo.c
drivers/usb/phy/phy-tegra-usb.c
drivers/usb/phy/phy-twl6030-usb.c
drivers/usb/renesas_usbhs/common.c
drivers/usb/roles/intel-xhci-usb-role-switch.c
drivers/usb/typec/mux/gpio-sbu-mux.c
drivers/usb/typec/mux/intel_pmc_mux.c
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
drivers/usb/typec/tcpm/tcpci_mt6360.c
drivers/usb/typec/tcpm/tcpci_mt6370.c
drivers/usb/typec/tcpm/wcove.c
drivers/usb/typec/ucsi/ucsi_acpi.c
drivers/usb/usbip/vhci_hcd.c
drivers/usb/usbip/vudc_main.c

index bb9d5d7ffefc5448177f4e42e7ed6ec61913fbf5..8f38e2c5369a1f57c84bea54bc53fc8b9260801c 100644 (file)
@@ -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",
        },
index 281de47e2a3b12a81533a75b0423ce7828a1c872..a2f041e1707c0d6ff25d79cb6c452be8680496cf 100644 (file)
@@ -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,
index 3ef8e3c872a37ecf41b7b089d27321aab04293f0..59ec505e198a4b37eb609c904dee34c680e97a08 100644 (file)
@@ -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),
index c04d196abd8782901492822d81659b228613ddd7..2ff7f2b48cc2b7255e763b5241f7fb6b0dc7b6bd 100644 (file)
@@ -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,
index cfabc12ee0e3c02ed95c06604c9be22eb2739955..040bb91e9c017d8298a7e251fd0e192a336e8a52 100644 (file)
@@ -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,
index c64ab0e07ea030cc7f23120fea1d211408955918..d655db733797992a0bde958a0d65780be7e405d5 100644 (file)
@@ -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",
index 1661639cd2ebb7a7a55067d1af7754ad3c426888..3ab3daa78e3401ae1f7ea24b597efac4298f8976 100644 (file)
@@ -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,
index 3e5e05dbda8904de33ebc6501644f4fee529aed5..e52a2b05cbe2aea8cb16d5baf724c887188f4621 100644 (file)
@@ -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,
index 9538d425f0a02a31af392606c2446dfb8e50d065..372788f0f970144ae34352c36d4ea7cf94200c76 100644 (file)
@@ -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);
 
index 97379f653b06295f19beed9478899f90a1dfd4e4..8ffa1e95d8e8601bcf7e121c33a75a28f073b681 100644 (file)
@@ -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,
index 835bf2428dc6eccee263b05024d42885884cd94d..36143b2ae48206a986f77958f20d5cbf74430726 100644 (file)
@@ -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,
index 501e8bc9738eba54836dcc2b97f83c36e791f1e9..c84b4a70008460f4607050b517a22fba4dc0ffec 100644 (file)
@@ -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,
index c1b7209b94836cd7ca8910b706077e1303daae19..91c80a92d9b8beafe071c06c14f7de7e8c733cf4 100644 (file)
@@ -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,
 };
 
index 3612a57f7877a6b7ba52d0761ed5674354f18588..5b8c9bbdd44d0d1de8d3d2099bcc2e4d600a4f4f 100644 (file)
@@ -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),
index fad151e78fd669f7a136d9217a8124ae88f9473c..5e3d1741701f7e871487e609066beadc022a59f4 100644 (file)
@@ -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,
index 9a6e988d165a6776794547395e41577d91e76a41..f5d963fae9e069e1bd145ff5bd1b704da89fb74c 100644 (file)
@@ -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,
index 64c0cd1995aa066364170990f4a92c89ff947f0f..356812cbcd884aa43794e428d4148dfbb0623c44 100644 (file)
@@ -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),
index 8899348b627632e647c1762c50106a124ac6eac8..7ee1610162b94f4d02908776338ba637f9bb2d60 100644 (file)
@@ -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,
index 2c07c038b584dc9b4487a76d2a27ec62ec383bf9..7d80bf7b18b0d290d38c08f495b15778122c8782 100644 (file)
@@ -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,
index 1a3b205367fd55e1362827b4e754f15cb3b0afa1..42bfc14ae0c4644595774e222b8948cb2e0b6da1 100644 (file)
@@ -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,
index be7be00ecb34911ae170da7f3f8f4796442b2732..a4954a21be9301067a13ac99b17320ea49d76d66 100644 (file)
@@ -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",
index 2a11fc0ee84f1ebcc285cca1d999561f4e432ab4..5582d45de110c6b0414e2776caa085389db23517 100644 (file)
@@ -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,
index c1d4b52f25b0631950e2360ec95d0ef978dfa8fd..48fee453774313a7de49fd5837970720c3c23d45 100644 (file)
@@ -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,
index e9c8b032c72cb6a303e921e1e855217ad4f59c73..56c53e0c025748e8ef2fd8685b3d617c28d44a69 100644 (file)
@@ -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,
index 2841021f3557f88ba5ff7604e9209ee85b2fa1d1..e16c3237180e970c184dfdb147c8abd46ff429a3 100644 (file)
@@ -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,
index b5e5be424ce9978b2ebb6ad61a953dc452d28bd0..e3738e1610db208477b7dd912ba74177604a900d 100644 (file)
@@ -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,
index 0655afe7f9779f02b721d62e3db065c7bc48fc26..49f25a70b32ebdd8bdad672d31342d5f89c4a502 100644 (file)
@@ -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)
index 4ca67b2f8f2437dcf1e2fd6ca02524a6acc0fc82..3684546e8801d440b495dc6260393f2e22cf7aea 100644 (file)
@@ -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",
        },
index f60a019bb173015d843834db31557363b1e8bbcc..f2685f89b3e50a2ccb4d979744fb520533a8b90c 100644 (file)
@@ -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,
index 5b62f43b36f71c87137ce83dad8b7e2f02f80605..353bfb1ff0a12b49bf60896f200764d0f17a854b 100644 (file)
@@ -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,
index e3bf17a98b380650cef9b3c007d603fd8feba984..e3af4ec3794e2ef871bc252948b6121921623704 100644 (file)
@@ -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,
index 4928eba19327215152231c1ec71103b888876733..0c6f2ad81d37f550ca026006c1ff8ca865426c75 100644 (file)
@@ -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,
index da7011d906e01db59fcac559eea1453bd1c08040..502612a5650e728cccae17acb0cc2c3a2e1b25e0 100644 (file)
@@ -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,
        },
index 5149e2b7f05087811c1ff16032209d9c6a506901..5c3d8b64c0e76e434cc1bcc39f9976f1a17d83b0 100644 (file)
@@ -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);
index f759bfc2f243b1c299fe4337377ede0d193d70e1..dfcd068f2dc8ac5ee9198dcd5a532ed4302a442e 100644 (file)
@@ -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         = {
index 55f49d01f9c582708b1cd23f844457157d944e29..aacfde06387c0bd4a54ff9d30006e3a40c133104 100644 (file)
@@ -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,
index 3432ebfae978794fa88b60811bbaedfbc0822bb8..c1cb980888e90483a12af76b4582cb086934d065 100644 (file)
@@ -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,
index 8558ba4b8a8bd25c4cd0efb64f4f9c9142506f55..5e94a99b3e53932c92bb2ac0e4ab18aff056a95c 100644 (file)
@@ -1507,7 +1507,7 @@ clean_up:
 
 static struct platform_driver fusb300_driver = {
        .probe = fusb300_probe,
-       .remove_new = fusb300_remove,
+       .remove = fusb300_remove,
        .driver = {
                .name = udc_name,
        },
index fb901be5dac1b7a4fe7fc4203c5757bccb8275a6..bf5b3c964c18702e765309584bb32a9c2be7ebdb 100644 (file)
@@ -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);
 
index 3bfd889ed56a47623138854ea062105f0b0dae75..89d6daf2bda7a353e0297dbe7c25bbb1c7f56839 100644 (file)
@@ -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,
index bfaa5291e6c83bd883c239a5fcd8a5447fb2878b..a938b2af0944bc4fe79d4acc5dfe24ce09a07558 100644 (file)
@@ -1688,7 +1688,7 @@ clean_up:
 /*-------------------------------------------------------------------------*/
 static struct platform_driver m66592_driver = {
        .probe =        m66592_probe,
-       .remove_new =   m66592_remove,
+       .remove =       m66592_remove,
        .driver         = {
                .name = udc_name,
        },
index e1dd5cf25d08a0a6eb42663215d7aa00350c4eb1..062f43e146aaac827522627ef90b13622bacbe81 100644 (file)
@@ -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",
index 78308b64955dd1e42332d40913ae55026ee27ef0..1592b2112318ce9135f816afe4f2f0b625f7507b 100644 (file)
@@ -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",
index 5e398180cded1823bf9f82f47075a55265203c04..d3326b98908ffcc95e7017876e2ab92793adb4f5 100644 (file)
@@ -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,
        },
index e13b8ec8ef8ad036c4bb58ae5aac5060c2ec1866..8429986043a8b76a8d3e006cf2920d951a0085ec 100644 (file)
@@ -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         = {
index 1ac26cb49ecf987b6153cf819fe7d321da507cb8..83a0b36c556d97eac13bb4e6f0715b33e9295b55 100644 (file)
@@ -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         = {
index 1a6317e4b2a323d7b484107bbc87ccd2d7a15ac8..7d3a8a5f3796f9c0477e5461c6c6758e085e6ffb 100644 (file)
@@ -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,
index db4a10a979f9db51c95ed08218091d06b3cf3948..ff6f846b1d411cc46ec716ccbd9cac05f61ce38b 100644 (file)
@@ -1965,7 +1965,7 @@ clean_up2:
 /*-------------------------------------------------------------------------*/
 static struct platform_driver r8a66597_driver = {
        .probe =        r8a66597_probe,
-       .remove_new =   r8a66597_remove,
+       .remove =       r8a66597_remove,
        .driver         = {
                .name = udc_name,
        },
index 3b01734ce1b7e5d834f788a036b6a60605d35dff..fce5c41d9f298ba58899e90a2d4f9f7d078f1d41 100644 (file)
@@ -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,
index 6de09ece8545c390210982d5e40ecc278ad9b41c..14f4b2cf05a48570e90da85a81f2cd28930c2e1e 100644 (file)
@@ -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);
index 36f4ff00d22fdb6643a2206402d5777103845f57..4692eae89f4435f05b40bf5f743b1d20d40a8179 100644 (file)
@@ -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);
 
index ba5a06690507797b91a92f06b115e776c82f3a97..db842a6de643def91fc98f0d4e4c451c61b7a918 100644 (file)
@@ -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,
index 7aa46d426f31b26a1ee4e650f28871db1e3d4de4..c7fdbc55fb0b97edb6b475184bd1f51944a9797d 100644 (file)
@@ -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,
index ebc45565c33e54e7d51d22f8a728a17e88330299..ae2aeb2718977da854f523bd996fbfe6e66acbb9 100644 (file)
@@ -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);
index 6a6e1c510b2838dc59889cca11f7d217a9b077dc..65747270fd88d0784b9906d7709f0a584727d885 100644 (file)
@@ -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",
index 68cad0620f1a937a1b41e25c8cdf2e01e468188d..888e8f6670d2a10fd1dde56221628b3cfe487391 100644 (file)
@@ -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",
index e3a961d3f5fc960994b9cbfcfd1d15496a693419..d2a5bedf736a2f255c405c5a306145821e39ab69 100644 (file)
@@ -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",
index 5b1ce394a4174d89eabffcd3b35dd48c11683462..26f13278d4d6982ae2ca50948f930189f1e911a9 100644 (file)
@@ -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,
index 14150e4d338265ea3cb54bd1c707baaaffeb397c..bd9762eaa135293e3b483705dc6744a74bd3b7e0 100644 (file)
@@ -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",
index 2f1fc7eb8b727ffb8daa8043a49bffd5489585f7..cbabbe107172106d2187ea695b54e195a34d967c 100644 (file)
@@ -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",
index 3d3317a1a0b3fd6c12ecd3479c4aab3b3ad829a3..f1c7034c1e80d7c908d85da58586fea0b7e5b6ae 100644 (file)
@@ -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",
index b24f371a46f3ecdef56f54ecc7d68a49bf970e01..db4a1acb27dae720b11d60f6855766b95a13ff49 100644 (file)
@@ -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, */
index ad145a54ca74e4003ceadee7f1defc171ddee124..34abff8669f8bf096f4547b6ce0977eb130b3c8d 100644 (file)
@@ -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",
index 98b073185e1c733b438586d25ff4a719a9a42ace..cdf41886e8cafa35e15e0182195ac5a538a63fe3 100644 (file)
@@ -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",
index 7fd83e806ae4661631b38bd9e056729f01dac7ff..8063b9d3aebd08082146b30fda6549b4a2a75dc7 100644 (file)
@@ -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",
index d31d9506e41ab0844cf04f5bbe1485972f8f62a4..5d0d972fb7b1b4f3ab9dca0d66b5c199319ea548 100644 (file)
@@ -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",
index d0e94e4c9fe2742eddc7475e33e849e51f03ed76..0b1fc2563dd69e583fe83509aa370d3ca8f96570 100644 (file)
@@ -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",
index 2dbb0d86daaaa93543bc4458d66a8919f2da70a5..58867d816af75600e5f7ca7c1aad474d4cd34e44 100644 (file)
@@ -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",
index a2112c28f6314688dbbf9ce7ac60bcc3a7d72731..1d16cfefabd7165ceae34f63eb1e05b6d1a8d7a5 100644 (file)
@@ -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",
index 9a1b5224f2396eb441e6b7d57bb466e783831dfe..22a0942f0bcee6430c16ad0a8c1b7d759d7e02ac 100644 (file)
@@ -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);
index 6cdc3d805c32a58ee408d9f45f244c599f03380e..4e67b9471986040735b726d84a1d7ae31b80aca0 100644 (file)
@@ -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);
index a82d8926e922c49151ebda072c94e24719c28b76..71c22c4bd16353c0eb702f3202a4011d14f492a7 100644 (file)
@@ -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 = {
index a52c3d858f3ee50aee29873d6663869a194c31a8..8c855629945fd3e23c0318670bb17048b1fc2463 100644 (file)
@@ -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,
index 38878865f916655a4227a7a2539aed2dda03ca21..361d33b0c4d29abb72ec0e010e66d36bd451eb25 100644 (file)
@@ -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)
index f691cd98a57466ecf82216843e04dc4c8ed201f4..5df793dcb25dacd7941582ab5bb96d5f947954a0 100644 (file)
@@ -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",
index d9adae53466b7a36caac69e23acdd667eef62e91..a4f8e4bc6468e9b7bcd33e0d8cc85e2b33371dc0 100644 (file)
@@ -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,
index 1379e03644b2a30847c2fcc2fcd3a55d189bf60a..cc5cb09009880a65cb334ba0476300a0dad04f4b 100644 (file)
@@ -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",
index 5b775e1ea52707fee7a302f47c379a2cadad857a..24d5a1dc5056047e20b3debc57001325db196bf6 100644 (file)
@@ -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)
index 974bc0ab6168e3bdbce355ab2f80472121b2d338..f6e56c4b991485f7e8b071d31f990b0a92e0c21f 100644 (file)
@@ -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,
index 4a75507325ddcd7b3bed5662429280fc7189609a..f47ae12cde6a26c0796da36cb2156861250c561d 100644 (file)
@@ -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",
index a6be061f86532bd3357f38cf41d89fbc323a2b85..acd0a0e398a4308fae92171ba21158702d647cc3 100644 (file)
@@ -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",
index 3348c25ddb18d2c2564a7c9511dc72921107db1f..45d026e85168b46b5d739ecd78fc32179747fbef 100644 (file)
@@ -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",
index c5c9b4cbcb9a3c783edeaf4714d54b7a5dc86f09..66d970854357d3b6c2f6ec583917c2a4e4c2ecbf 100644 (file)
@@ -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",
index 4b39e9d6f33a98f10fbf74061244bf640953ad09..843a5378764e6b9dcf5056e73428b7178c132748 100644 (file)
@@ -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,
index 993f347c5c2884b3e3e2a3410aef8d9954a4bcdf..d7131e5a4477c44aaf760029e2c7b2f4d4019e8e 100644 (file)
@@ -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,
index 214342013f7ec4126634d09e2f266546e34d5fce..d1656fce54004780867490e11161ae2df90e88f8 100644 (file)
@@ -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",
index 9b665de568bc6ec66ae05b0dbafa4eda7659576d..bd06e2f8b02ee718c42ba8d3cae979fdae65bfb6 100644 (file)
@@ -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,
index 34524505bdefc283b1ba2f0ee038a61f3f8d7104..af7bf6e6627fa082ce3cb0a502ce6462dd67d756 100644 (file)
@@ -2510,7 +2510,7 @@ clean_up:
 
 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,
index 2b871540bb50025f53c814da0fa544e2176fd760..c95f42e8c0611bfb7514b72bf0018de659ef9671 100644 (file)
@@ -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,
index cfebb833668e4b014633d0919be1aa1777c25140..8a1f6d1b5b56082011eb3974eddeb2acecb229e6 100644 (file)
@@ -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",
index 3dec5dd3a0d5cab9f3d66dd603a3035cf491167a..a7c934404ebc7ed74f64265fafa7830809979ba5 100644 (file)
@@ -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",
index f9a4a4b0eb574920d3fdec7800939a80c9d6ebbb..8a7d46dae62c8c9d7691d453ea6f9c1a70a73310 100644 (file)
@@ -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,
index 3252e3d2d79cd68e875d6965f3cda650dffa456a..9048313444409e83e7dd00c8e9ec6f0ce740f6f1 100644 (file)
@@ -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,
index ecaa75718e5926816fb3427c58c64292374defed..e6c9006bd5685fd5b9eccf697b4dd048fd6b37ed 100644 (file)
@@ -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",
index 8b357647728c2b6ca135d0388cfb0281b2d3b01a..1cc082a3b7939bd911320a9c5acfa1bd9d16fca1 100644 (file)
@@ -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",
index 6246d5ad146848271527c7a893c2a7c3daecc927..12a00a4bb4d34ad333b1ca817f66e36828bab565 100644 (file)
@@ -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",
index fe1e3985419a289bbaa588233f479b6f6b005b70..a64190addba6f92140857bb67709c81d42c99517 100644 (file)
@@ -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),
index 560591e02d6a4ec7ec4f41cc1b0539d1f4c8036f..ef6845c05784565b9819becd6cc01f7826a18218 100644 (file)
@@ -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",
index 19906301a4eb8aadf43ea88e27843f8e05284d98..83079c414b4f281b2136d0d1eb39418c7f94ff8c 100644 (file)
@@ -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,
index 3b33e4878c608ead68ae41c0c8e9221040eb5842..322e59381b7830e7937ff2c5afdc649c6b81e723 100644 (file)
@@ -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)
index 6858ed9fc3b2f1276161a60554dee3491063bb3d..6b6f3f8e89a9d0378d05e05fa5df2ce922124fa4 100644 (file)
@@ -621,7 +621,7 @@ MODULE_DEVICE_TABLE(of, mtu3_of_match);
 
 static struct platform_driver mtu3_driver = {
        .probe = mtu3_probe,
-       .remove_new = mtu3_remove,
+       .remove = mtu3_remove,
        .driver = {
                .name = MTU3_DRIVER_NAME,
                .pm = DEV_PM_OPS,
index 953094c1930c8fd8dcaaa9875905bf3f16107a62..f772aa272bea65eb403655b81a7bec26a1d355e4 100644 (file)
@@ -633,7 +633,7 @@ MODULE_DEVICE_TABLE(of, da8xx_id_table);
 
 static struct platform_driver da8xx_driver = {
        .probe          = da8xx_probe,
-       .remove_new     = da8xx_remove,
+       .remove         = da8xx_remove,
        .driver         = {
                .name   = "musb-da8xx",
                .pm = &da8xx_pm_ops,
index b38df9226278b04c936cbb7c574e63577fd3565a..acdeb1117cd3f66ecc9c911d284ef2c836d5eb76 100644 (file)
@@ -325,7 +325,7 @@ MODULE_DEVICE_TABLE(of, jz4740_musb_of_match);
 
 static struct platform_driver jz4740_driver = {
        .probe          = jz4740_probe,
-       .remove_new     = jz4740_remove,
+       .remove         = jz4740_remove,
        .driver         = {
                .name   = "musb-jz4740",
                .of_match_table = jz4740_musb_of_match,
index 63c86c046b9865b1157a838b318ea7155f1c5bc5..aa988d74b58d0fb7473cb91d998c1234ef0a000c 100644 (file)
@@ -523,7 +523,7 @@ MODULE_DEVICE_TABLE(of, mtk_musb_match);
 
 static struct platform_driver mtk_musb_driver = {
        .probe = mtk_musb_probe,
-       .remove_new = mtk_musb_remove,
+       .remove = mtk_musb_remove,
        .driver = {
                   .name = "musb-mtk",
                   .of_match_table = of_match_ptr(mtk_musb_match),
index 00e13214aa766c61a6d4c6e6ebfc6b9246141097..7edc8429b274907b0424fa31edafb05805e62925 100644 (file)
@@ -369,7 +369,7 @@ MODULE_DEVICE_TABLE(of, mpfs_id_table);
 
 static struct platform_driver mpfs_musb_driver = {
        .probe = mpfs_probe,
-       .remove_new = mpfs_remove,
+       .remove = mpfs_remove,
        .driver = {
                .name = "mpfs-musb",
                .of_match_table = of_match_ptr(mpfs_id_table)
index b24adb5b399fc7dc908e42e718cf54be89b077d4..25fafde6003cda1c2ce2b0b56da2cb39ad145847 100644 (file)
@@ -2953,7 +2953,7 @@ static struct platform_driver musb_driver = {
                .dev_groups     = musb_groups,
        },
        .probe          = musb_probe,
-       .remove_new     = musb_remove,
+       .remove         = musb_remove,
 };
 
 module_platform_driver(musb_driver);
index 9c7a8bbc0542ceee69ff9353499207d468f7fe98..2542239ec64eafa2de5bd34f19cb0bb7d68b88ea 100644 (file)
@@ -1032,7 +1032,7 @@ static SIMPLE_DEV_PM_OPS(dsps_pm_ops, dsps_suspend, dsps_resume);
 
 static struct platform_driver dsps_usbss_driver = {
        .probe          = dsps_probe,
-       .remove_new     = dsps_remove,
+       .remove         = dsps_remove,
        .driver         = {
                .name   = "musb-dsps",
                .pm     = &dsps_pm_ops,
index b4a4c1df4e0d961cfc75d105a84de8dd4c04a1f2..2970967a4fd28b21bd612b0949d4d4ab4dd810fd 100644 (file)
@@ -608,7 +608,7 @@ MODULE_DEVICE_TABLE(of, omap2430_id_table);
 
 static struct platform_driver omap2430_driver = {
        .probe          = omap2430_probe,
-       .remove_new     = omap2430_remove,
+       .remove         = omap2430_remove,
        .driver         = {
                .name   = "musb-omap2430",
                .pm     = DEV_PM_OPS,
index d54283fd026b22324c38c09aff69069600ab7b3f..113d026ac2f80704a65a6af57cb3eaede50c46f4 100644 (file)
@@ -859,7 +859,7 @@ MODULE_DEVICE_TABLE(of, sunxi_musb_match);
 
 static struct platform_driver sunxi_musb_driver = {
        .probe = sunxi_musb_probe,
-       .remove_new = sunxi_musb_remove,
+       .remove = sunxi_musb_remove,
        .driver = {
                .name = "musb-sunxi",
                .of_match_table = sunxi_musb_match,
index 461587629bf26145775fa6a922e7ed0e7012c3dc..90b760a95e4e34085c77291762d9e10040236cbc 100644 (file)
@@ -1290,7 +1290,7 @@ static void tusb_remove(struct platform_device *pdev)
 
 static struct platform_driver tusb_driver = {
        .probe          = tusb_probe,
-       .remove_new     = tusb_remove,
+       .remove         = tusb_remove,
        .driver         = {
                .name   = "musb-tusb",
        },
index c8d9d2a1d2f0360da9b1ac4378e452dc549f4b59..8c2a43d992f5c95374d2c36bcc64c021eff5f7fe 100644 (file)
@@ -355,7 +355,7 @@ MODULE_DEVICE_TABLE(of, ux500_match);
 
 static struct platform_driver ux500_driver = {
        .probe          = ux500_probe,
-       .remove_new     = ux500_remove,
+       .remove         = ux500_remove,
        .driver         = {
                .name   = "musb-ux500",
                .pm     = &ux500_pm_ops,
index 408f47e390259f37ecf00722f0137364cf78b63d..6a98aeeeae319c25af95202634bd119679936dc3 100644 (file)
@@ -987,7 +987,7 @@ MODULE_DEVICE_TABLE(platform, ab8500_usb_devtype);
 
 static struct platform_driver ab8500_usb_driver = {
        .probe          = ab8500_usb_probe,
-       .remove_new     = ab8500_usb_remove,
+       .remove         = ab8500_usb_remove,
        .id_table       = ab8500_usb_devtype,
        .driver         = {
                .name   = "abx5x0-usb",
index 6db88e00f127c192637a4fd594c9d56eed37d49a..ca9353dad71aa2196b1491ca840a82ae56478d12 100644 (file)
@@ -133,7 +133,7 @@ MODULE_DEVICE_TABLE(of, am335x_phy_ids);
 
 static struct platform_driver am335x_phy_driver = {
        .probe          = am335x_phy_probe,
-       .remove_new     = am335x_phy_remove,
+       .remove         = am335x_phy_remove,
        .driver         = {
                .name   = "am335x-phy-driver",
                .pm = &am335x_pm_ops,
index 1ebbf189a53509139677de4adfc2c8606500b0de..b4b522a217693eeaa8efe857db168cb2fdffd417 100644 (file)
@@ -1002,7 +1002,7 @@ static void fsl_otg_remove(struct platform_device *pdev)
 
 struct platform_driver fsl_otg_driver = {
        .probe = fsl_otg_probe,
-       .remove_new = fsl_otg_remove,
+       .remove = fsl_otg_remove,
        .driver = {
                .name = driver_name,
        },
index e7d50e0a1612389a427e0cbaefcae3c1bbea8458..6c3ececf9137527799d0882ff1a98bb1510c8d2a 100644 (file)
@@ -345,7 +345,7 @@ MODULE_DEVICE_TABLE(of, nop_xceiv_dt_ids);
 
 static struct platform_driver usb_phy_generic_driver = {
        .probe          = usb_phy_generic_probe,
-       .remove_new     = usb_phy_generic_remove,
+       .remove         = usb_phy_generic_remove,
        .driver         = {
                .name   = "usb_phy_generic",
                .of_match_table = nop_xceiv_dt_ids,
index 5428b2b67de1fcae6aa2f677c3c51555f7c3449b..ce09e789afd882268834800cd9057e74e892896a 100644 (file)
@@ -385,7 +385,7 @@ static struct platform_driver gpio_vbus_driver = {
                .of_match_table = gpio_vbus_of_match,
        },
        .probe          = gpio_vbus_probe,
-       .remove_new     = gpio_vbus_remove,
+       .remove         = gpio_vbus_remove,
 };
 
 module_platform_driver(gpio_vbus_driver);
index bd9a98ad1b3093ea89de7be1833963d337f16172..51155c5513d3c620b9bdd84e68d5950914c93824 100644 (file)
@@ -103,7 +103,7 @@ MODULE_DEVICE_TABLE(of, keystone_usbphy_ids);
 
 static struct platform_driver keystone_usbphy_driver = {
        .probe          = keystone_usbphy_probe,
-       .remove_new     = keystone_usbphy_remove,
+       .remove         = keystone_usbphy_remove,
        .driver         = {
                .name   = "keystone-usbphy",
                .of_match_table = keystone_usbphy_ids,
index df7c27474a75a6a3435ead94853299adae9ac577..a7a102f2e163facb7797664a8999207419ae33fd 100644 (file)
@@ -867,7 +867,7 @@ static int mv_otg_resume(struct platform_device *pdev)
 
 static struct platform_driver mv_otg_driver = {
        .probe = mv_otg_probe,
-       .remove_new = mv_otg_remove,
+       .remove = mv_otg_remove,
        .driver = {
                   .name = driver_name,
                   .dev_groups = mv_otg_groups,
index cc4156c1b148ee9ec47db2a7413c8fb0d3080728..7490f1798b461c39c29bb74e1e57e0a4adce2bd7 100644 (file)
@@ -952,7 +952,7 @@ static SIMPLE_DEV_PM_OPS(mxs_phy_pm, mxs_phy_system_suspend,
 
 static struct platform_driver mxs_phy_driver = {
        .probe = mxs_phy_probe,
-       .remove_new = mxs_phy_remove,
+       .remove = mxs_phy_remove,
        .driver = {
                .name = DRIVER_NAME,
                .of_match_table = mxs_phy_dt_ids,
index 5cac31c6029b38da9f2488fbfdaa340b28a2d5b6..ae7bf3ff89ee176d730d2fb1e7377ce4835b7c6f 100644 (file)
@@ -424,7 +424,7 @@ static void tahvo_usb_remove(struct platform_device *pdev)
 
 static struct platform_driver tahvo_usb_driver = {
        .probe          = tahvo_usb_probe,
-       .remove_new     = tahvo_usb_remove,
+       .remove         = tahvo_usb_remove,
        .driver         = {
                .name   = "tahvo-usb",
                .dev_groups = tahvo_groups,
index 4ea47e6f835bfb8517acc87e4a4513b1127bd847..bee222967f6b19c8d43eaeefdbb8954f2ac2d51c 100644 (file)
@@ -1495,7 +1495,7 @@ static void tegra_usb_phy_remove(struct platform_device *pdev)
 
 static struct platform_driver tegra_usb_phy_driver = {
        .probe          = tegra_usb_phy_probe,
-       .remove_new     = tegra_usb_phy_remove,
+       .remove         = tegra_usb_phy_remove,
        .driver         = {
                .name   = "tegra-phy",
                .of_match_table = tegra_usb_phy_id_table,
index da09cff55abcec526dde7e5749cd11b9c60f9a8f..49d79c1257f3a4004f17322c29eeeb35286685f6 100644 (file)
@@ -432,7 +432,7 @@ MODULE_DEVICE_TABLE(of, twl6030_usb_id_table);
 
 static struct platform_driver twl6030_usb_driver = {
        .probe          = twl6030_usb_probe,
-       .remove_new     = twl6030_usb_remove,
+       .remove         = twl6030_usb_remove,
        .driver         = {
                .name   = "twl6030_usb",
                .of_match_table = of_match_ptr(twl6030_usb_id_table),
index edc43f169d493c65549c58782f20a1e18e823a6a..61b440cc3a168c16e91979f2002e411a6afd4a4c 100644 (file)
@@ -835,7 +835,7 @@ static struct platform_driver renesas_usbhs_driver = {
                .of_match_table = usbhs_of_match,
        },
        .probe          = usbhs_probe,
-       .remove_new     = usbhs_remove,
+       .remove         = usbhs_remove,
 };
 
 module_platform_driver(renesas_usbhs_driver);
index e5c6c413a075b6e9c8734d029f20fc558ec69c92..cd2e026dcb22f14185b9cf7a0149908488d57c10 100644 (file)
@@ -217,7 +217,7 @@ static struct platform_driver intel_xhci_usb_driver = {
        },
        .id_table = intel_xhci_usb_table,
        .probe = intel_xhci_usb_probe,
-       .remove_new = intel_xhci_usb_remove,
+       .remove = intel_xhci_usb_remove,
 };
 
 module_platform_driver(intel_xhci_usb_driver);
index 8902102c05a8ecdb7a8136415117f0c2aa48261a..1834f1a2dd9dd082648050c6aace4124ed70fd38 100644 (file)
@@ -159,7 +159,7 @@ MODULE_DEVICE_TABLE(of, gpio_sbu_mux_match);
 
 static struct platform_driver gpio_sbu_mux_driver = {
        .probe = gpio_sbu_mux_probe,
-       .remove_new = gpio_sbu_mux_remove,
+       .remove = gpio_sbu_mux_remove,
        .driver = {
                .name = "gpio_sbu_mux",
                .of_match_table = gpio_sbu_mux_match,
index 46b4c5c3a6beb3260368eea221b405c2969c22e3..5dfe95754394611b46b798f577d56cb1afcde003 100644 (file)
@@ -828,7 +828,7 @@ static struct platform_driver pmc_usb_driver = {
                .acpi_match_table = ACPI_PTR(pmc_usb_acpi_ids),
        },
        .probe = pmc_usb_probe,
-       .remove_new = pmc_usb_remove,
+       .remove = pmc_usb_remove,
 };
 
 static int __init pmc_usb_init(void)
index 501eddb294e4329f9fd33b185a79a3847b0cd7e4..2201eeae5a99e38bff4b27d064e6d61a1e7e5e90 100644 (file)
@@ -161,7 +161,7 @@ static struct platform_driver qcom_pmic_typec_driver = {
                .of_match_table = qcom_pmic_typec_table,
        },
        .probe = qcom_pmic_typec_probe,
-       .remove_new = qcom_pmic_typec_remove,
+       .remove = qcom_pmic_typec_remove,
 };
 
 module_platform_driver(qcom_pmic_typec_driver);
index 02b7fd30226508c27f92706a51440a175994bf3f..881ffacbfd7737c5dbe70a7b82117da7d123ddb8 100644 (file)
@@ -221,7 +221,7 @@ static struct platform_driver mt6360_tcpc_driver = {
                .of_match_table = mt6360_tcpc_of_id,
        },
        .probe = mt6360_tcpc_probe,
-       .remove_new = mt6360_tcpc_remove,
+       .remove = mt6360_tcpc_remove,
 };
 module_platform_driver(mt6360_tcpc_driver);
 
index 9cda1005ef01a5a74a5d82e2218983b7ab482102..1479f961772d0d33bbc3902f6b78d93bebf447c6 100644 (file)
@@ -196,7 +196,7 @@ static struct platform_driver mt6370_tcpc_driver = {
                .of_match_table = mt6370_tcpc_devid_table,
        },
        .probe = mt6370_tcpc_probe,
-       .remove_new = mt6370_tcpc_remove,
+       .remove = mt6370_tcpc_remove,
 };
 module_platform_driver(mt6370_tcpc_driver);
 
index cf719307b3f6b9e3af41870fd76604b113166ba8..8eb1db0c0e36786bb263082155f9728fac810acb 100644 (file)
@@ -691,7 +691,7 @@ static struct platform_driver wcove_typec_driver = {
                .name           = "bxt_wcove_usbc",
        },
        .probe                  = wcove_typec_probe,
-       .remove_new             = wcove_typec_remove,
+       .remove                 = wcove_typec_remove,
 };
 
 module_platform_driver(wcove_typec_driver);
index 7a5dff8d9cc6c31657d673e86bc09220ec08c60f..6d6120c8ab7c478e0b82ae7ed42d65fd78ab079b 100644 (file)
@@ -320,7 +320,7 @@ static struct platform_driver ucsi_acpi_platform_driver = {
                .acpi_match_table = ACPI_PTR(ucsi_acpi_match),
        },
        .probe = ucsi_acpi_probe,
-       .remove_new = ucsi_acpi_remove,
+       .remove = ucsi_acpi_remove,
 };
 
 module_platform_driver(ucsi_acpi_platform_driver);
index 8dac1edc74d4ee5cbe637f4546040e3ca2391b75..b03e5021c25bd538f93dd9f0d99a24e5443e51f6 100644 (file)
@@ -1487,7 +1487,7 @@ static int vhci_hcd_resume(struct platform_device *pdev)
 
 static struct platform_driver vhci_driver = {
        .probe  = vhci_hcd_probe,
-       .remove_new = vhci_hcd_remove,
+       .remove = vhci_hcd_remove,
        .suspend = vhci_hcd_suspend,
        .resume = vhci_hcd_resume,
        .driver = {
index 8bee553e48945f66d6c81bd0c1e0d2ca22f798ae..993e721cb840df29c209bbad2bfc35fea434b4db 100644 (file)
@@ -19,7 +19,7 @@ MODULE_PARM_DESC(num, "number of emulated controllers");
 
 static struct platform_driver vudc_driver = {
        .probe          = vudc_probe,
-       .remove_new     = vudc_remove,
+       .remove         = vudc_remove,
        .driver         = {
                .name   = GADGET_NAME,
                .dev_groups = vudc_groups,