dmaengine: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 4 Oct 2024 06:22:27 +0000 (08:22 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2024 18:20:34 +0000 (23:50 +0530)
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/dma after the previous
conversion commits apart from the wireless drivers 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/20241004062227.187726-2-u.kleine-koenig@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
65 files changed:
drivers/dma/altera-msgdma.c
drivers/dma/amd/qdma/qdma.c
drivers/dma/apple-admac.c
drivers/dma/at_hdmac.c
drivers/dma/at_xdmac.c
drivers/dma/bcm-sba-raid.c
drivers/dma/bcm2835-dma.c
drivers/dma/bestcomm/bestcomm.c
drivers/dma/dma-jz4780.c
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
drivers/dma/dw/platform.c
drivers/dma/fsl-edma-main.c
drivers/dma/fsl-qdma.c
drivers/dma/fsl_raid.c
drivers/dma/fsldma.c
drivers/dma/idma64.c
drivers/dma/img-mdc-dma.c
drivers/dma/imx-dma.c
drivers/dma/imx-sdma.c
drivers/dma/k3dma.c
drivers/dma/ls2x-apb-dma.c
drivers/dma/mcf-edma-main.c
drivers/dma/mediatek/mtk-cqdma.c
drivers/dma/mediatek/mtk-hsdma.c
drivers/dma/mediatek/mtk-uart-apdma.c
drivers/dma/milbeaut-hdmac.c
drivers/dma/milbeaut-xdmac.c
drivers/dma/mmp_pdma.c
drivers/dma/mmp_tdma.c
drivers/dma/moxart-dma.c
drivers/dma/mpc512x_dma.c
drivers/dma/mv_xor_v2.c
drivers/dma/nbpfaxi.c
drivers/dma/owl-dma.c
drivers/dma/ppc4xx/adma.c
drivers/dma/pxa_dma.c
drivers/dma/qcom/bam_dma.c
drivers/dma/qcom/hidma.c
drivers/dma/qcom/qcom_adm.c
drivers/dma/sa11x0-dma.c
drivers/dma/sf-pdma/sf-pdma.c
drivers/dma/sh/rcar-dmac.c
drivers/dma/sh/rz-dmac.c
drivers/dma/sh/shdmac.c
drivers/dma/sh/usb-dmac.c
drivers/dma/sprd-dma.c
drivers/dma/st_fdma.c
drivers/dma/stm32/stm32-dma3.c
drivers/dma/sun4i-dma.c
drivers/dma/sun6i-dma.c
drivers/dma/tegra186-gpc-dma.c
drivers/dma/tegra20-apb-dma.c
drivers/dma/tegra210-adma.c
drivers/dma/ti/cppi41.c
drivers/dma/ti/edma.c
drivers/dma/ti/omap-dma.c
drivers/dma/timb_dma.c
drivers/dma/txx9dmac.c
drivers/dma/uniphier-mdmac.c
drivers/dma/uniphier-xdmac.c
drivers/dma/xgene-dma.c
drivers/dma/xilinx/xdma.c
drivers/dma/xilinx/xilinx_dma.c
drivers/dma/xilinx/xilinx_dpdma.c
drivers/dma/xilinx/zynqmp_dma.c

index e6a6566..a203fdd 100644 (file)
@@ -954,7 +954,7 @@ static struct platform_driver msgdma_driver = {
                .of_match_table = of_match_ptr(msgdma_match),
        },
        .probe = msgdma_probe,
-       .remove_new = msgdma_remove,
+       .remove = msgdma_remove,
 };
 
 module_platform_driver(msgdma_driver);
index b0a1f3a..6d90794 100644 (file)
@@ -1133,7 +1133,7 @@ static struct platform_driver amd_qdma_driver = {
                .name = "amd-qdma",
        },
        .probe          = amd_qdma_probe,
-       .remove_new     = amd_qdma_remove,
+       .remove         = amd_qdma_remove,
 };
 
 module_platform_driver(amd_qdma_driver);
index 9588773..c499173 100644 (file)
@@ -950,7 +950,7 @@ static struct platform_driver apple_admac_driver = {
                .of_match_table = admac_of_match,
        },
        .probe = admac_probe,
-       .remove_new = admac_remove,
+       .remove = admac_remove,
 };
 module_platform_driver(apple_admac_driver);
 
index baebddc..2d14771 100644 (file)
@@ -2250,7 +2250,7 @@ static const struct dev_pm_ops __maybe_unused at_dma_dev_pm_ops = {
 };
 
 static struct platform_driver at_dma_driver = {
-       .remove_new     = at_dma_remove,
+       .remove         = at_dma_remove,
        .shutdown       = at_dma_shutdown,
        .id_table       = atdma_devtypes,
        .driver = {
index 2993961..9c7b402 100644 (file)
@@ -2476,7 +2476,7 @@ MODULE_DEVICE_TABLE(of, atmel_xdmac_dt_ids);
 
 static struct platform_driver at_xdmac_driver = {
        .probe          = at_xdmac_probe,
-       .remove_new     = at_xdmac_remove,
+       .remove         = at_xdmac_remove,
        .driver = {
                .name           = "at_xdmac",
                .of_match_table = of_match_ptr(atmel_xdmac_dt_ids),
index cfa6e11..7f0e764 100644 (file)
@@ -1756,7 +1756,7 @@ MODULE_DEVICE_TABLE(of, sba_of_match);
 
 static struct platform_driver sba_driver = {
        .probe = sba_probe,
-       .remove_new = sba_remove,
+       .remove = sba_remove,
        .driver = {
                .name = "bcm-sba-raid",
                .of_match_table = sba_of_match,
index e1b92b4..7ba52de 100644 (file)
@@ -1029,7 +1029,7 @@ static void bcm2835_dma_remove(struct platform_device *pdev)
 
 static struct platform_driver bcm2835_dma_driver = {
        .probe  = bcm2835_dma_probe,
-       .remove_new = bcm2835_dma_remove,
+       .remove = bcm2835_dma_remove,
        .driver = {
                .name = "bcm2835-dma",
                .of_match_table = of_match_ptr(bcm2835_dma_of_match),
index 0bbaa76..6c4d655 100644 (file)
@@ -486,7 +486,7 @@ MODULE_DEVICE_TABLE(of, mpc52xx_bcom_of_match);
 
 static struct platform_driver mpc52xx_bcom_of_platform_driver = {
        .probe          = mpc52xx_bcom_probe,
-       .remove_new     = mpc52xx_bcom_remove,
+       .remove         = mpc52xx_bcom_remove,
        .driver = {
                .name = DRIVER_NAME,
                .of_match_table = mpc52xx_bcom_of_match,
index c9cfa34..1000576 100644 (file)
@@ -1122,7 +1122,7 @@ MODULE_DEVICE_TABLE(of, jz4780_dma_dt_match);
 
 static struct platform_driver jz4780_dma_driver = {
        .probe          = jz4780_dma_probe,
-       .remove_new     = jz4780_dma_remove,
+       .remove         = jz4780_dma_remove,
        .driver = {
                .name   = "jz4780-dma",
                .of_match_table = jz4780_dma_dt_match,
index fffafa8..b235366 100644 (file)
@@ -1676,7 +1676,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_of_id_table);
 
 static struct platform_driver dw_driver = {
        .probe          = dw_probe,
-       .remove_new     = dw_remove,
+       .remove         = dw_remove,
        .driver = {
                .name   = KBUILD_MODNAME,
                .of_match_table = dw_dma_of_id_table,
index 47c58ad..2606cf9 100644 (file)
@@ -191,7 +191,7 @@ static const struct dev_pm_ops dw_dev_pm_ops = {
 
 static struct platform_driver dw_driver = {
        .probe          = dw_probe,
-       .remove_new     = dw_remove,
+       .remove         = dw_remove,
        .shutdown       = dw_shutdown,
        .driver = {
                .name   = DRV_NAME,
index f9f1eda..60de100 100644 (file)
@@ -740,7 +740,7 @@ static struct platform_driver fsl_edma_driver = {
                .pm     = &fsl_edma_pm_ops,
        },
        .probe          = fsl_edma_probe,
-       .remove_new     = fsl_edma_remove,
+       .remove         = fsl_edma_remove,
 };
 
 static int __init fsl_edma_init(void)
index 5005e13..823f5c6 100644 (file)
@@ -1288,7 +1288,7 @@ static struct platform_driver fsl_qdma_driver = {
                .of_match_table = fsl_qdma_dt_ids,
        },
        .probe          = fsl_qdma_probe,
-       .remove_new     = fsl_qdma_remove,
+       .remove         = fsl_qdma_remove,
 };
 
 module_platform_driver(fsl_qdma_driver);
index 014ff52..6aa97e2 100644 (file)
@@ -886,7 +886,7 @@ static struct platform_driver fsl_re_driver = {
                .of_match_table = fsl_re_ids,
        },
        .probe = fsl_re_probe,
-       .remove_new = fsl_re_remove,
+       .remove = fsl_re_remove,
 };
 
 module_platform_driver(fsl_re_driver);
index 18a6c4b..b5e7d18 100644 (file)
@@ -1404,7 +1404,7 @@ static struct platform_driver fsldma_of_driver = {
 #endif
        },
        .probe = fsldma_of_probe,
-       .remove_new = fsldma_of_remove,
+       .remove = fsldma_of_remove,
 };
 
 /*----------------------------------------------------------------------------*/
index 3c64830..d147353 100644 (file)
@@ -693,7 +693,7 @@ static const struct dev_pm_ops idma64_dev_pm_ops = {
 
 static struct platform_driver idma64_platform_driver = {
        .probe          = idma64_platform_probe,
-       .remove_new     = idma64_platform_remove,
+       .remove         = idma64_platform_remove,
        .driver = {
                .name   = LPSS_IDMA64_DRIVER_NAME,
                .pm     = &idma64_dev_pm_ops,
index 0532dd2..4127c1b 100644 (file)
@@ -1076,7 +1076,7 @@ static struct platform_driver mdc_dma_driver = {
                .of_match_table = of_match_ptr(mdc_dma_of_match),
        },
        .probe = mdc_dma_probe,
-       .remove_new = mdc_dma_remove,
+       .remove = mdc_dma_remove,
 };
 module_platform_driver(mdc_dma_driver);
 
index e913f0d..a651e09 100644 (file)
@@ -1233,7 +1233,7 @@ static struct platform_driver imxdma_driver = {
                .name   = "imx-dma",
                .of_match_table = imx_dma_of_dev_id,
        },
-       .remove_new     = imxdma_remove,
+       .remove         = imxdma_remove,
 };
 
 static int __init imxdma_module_init(void)
index 72299a0..3449006 100644 (file)
@@ -2440,7 +2440,7 @@ static struct platform_driver sdma_driver = {
                .name   = "imx-sdma",
                .of_match_table = sdma_dt_ids,
        },
-       .remove_new     = sdma_remove,
+       .remove         = sdma_remove,
        .probe          = sdma_probe,
 };
 
index 5de8c21..acc2983 100644 (file)
@@ -1028,7 +1028,7 @@ static struct platform_driver k3_pdma_driver = {
                .of_match_table = k3_pdma_dt_ids,
        },
        .probe          = k3_dma_probe,
-       .remove_new     = k3_dma_remove,
+       .remove         = k3_dma_remove,
 };
 
 module_platform_driver(k3_pdma_driver);
index 9652e86..2460cf9 100644 (file)
@@ -692,7 +692,7 @@ MODULE_DEVICE_TABLE(of, ls2x_dma_of_match_table);
 
 static struct platform_driver ls2x_dmac_driver = {
        .probe          = ls2x_dma_probe,
-       .remove_new     = ls2x_dma_remove,
+       .remove         = ls2x_dma_remove,
        .driver = {
                .name   = "ls2x-apbdma",
                .of_match_table = ls2x_dma_of_match_table,
index 0c5862b..9e1c640 100644 (file)
@@ -267,7 +267,7 @@ static struct platform_driver mcf_edma_driver = {
                .name   = "mcf-edma",
        },
        .probe          = mcf_edma_probe,
-       .remove_new     = mcf_edma_remove,
+       .remove         = mcf_edma_remove,
 };
 
 bool mcf_edma_filter_fn(struct dma_chan *chan, void *param)
index b69eabf..d5ddb4e 100644 (file)
@@ -922,7 +922,7 @@ static void mtk_cqdma_remove(struct platform_device *pdev)
 
 static struct platform_driver mtk_cqdma_driver = {
        .probe = mtk_cqdma_probe,
-       .remove_new = mtk_cqdma_remove,
+       .remove = mtk_cqdma_remove,
        .driver = {
                .name           = KBUILD_MODNAME,
                .of_match_table = mtk_cqdma_match,
index 58c7961..fa77bb2 100644 (file)
@@ -1038,7 +1038,7 @@ static void mtk_hsdma_remove(struct platform_device *pdev)
 
 static struct platform_driver mtk_hsdma_driver = {
        .probe          = mtk_hsdma_probe,
-       .remove_new     = mtk_hsdma_remove,
+       .remove         = mtk_hsdma_remove,
        .driver = {
                .name           = KBUILD_MODNAME,
                .of_match_table = mtk_hsdma_match,
index 1bdc150..08e1517 100644 (file)
@@ -637,7 +637,7 @@ static const struct dev_pm_ops mtk_uart_apdma_pm_ops = {
 
 static struct platform_driver mtk_uart_apdma_driver = {
        .probe  = mtk_uart_apdma_probe,
-       .remove_new = mtk_uart_apdma_remove,
+       .remove = mtk_uart_apdma_remove,
        .driver = {
                .name           = KBUILD_MODNAME,
                .pm             = &mtk_uart_apdma_pm_ops,
index 7b41c67..9a5ec24 100644 (file)
@@ -571,7 +571,7 @@ MODULE_DEVICE_TABLE(of, milbeaut_hdmac_match);
 
 static struct platform_driver milbeaut_hdmac_driver = {
        .probe = milbeaut_hdmac_probe,
-       .remove_new = milbeaut_hdmac_remove,
+       .remove = milbeaut_hdmac_remove,
        .driver = {
                .name = "milbeaut-m10v-hdmac",
                .of_match_table = milbeaut_hdmac_match,
index 2cce529..58d4fd6 100644 (file)
@@ -409,7 +409,7 @@ MODULE_DEVICE_TABLE(of, milbeaut_xdmac_match);
 
 static struct platform_driver milbeaut_xdmac_driver = {
        .probe = milbeaut_xdmac_probe,
-       .remove_new = milbeaut_xdmac_remove,
+       .remove = milbeaut_xdmac_remove,
        .driver = {
                .name = "milbeaut-m10v-xdmac",
                .of_match_table = milbeaut_xdmac_match,
index 136fcae..a95d311 100644 (file)
@@ -1137,7 +1137,7 @@ static struct platform_driver mmp_pdma_driver = {
        },
        .id_table       = mmp_pdma_id_table,
        .probe          = mmp_pdma_probe,
-       .remove_new     = mmp_pdma_remove,
+       .remove         = mmp_pdma_remove,
 };
 
 module_platform_driver(mmp_pdma_driver);
index b76fe99..c8dc504 100644 (file)
@@ -736,7 +736,7 @@ static struct platform_driver mmp_tdma_driver = {
                .of_match_table = mmp_tdma_dt_ids,
        },
        .probe          = mmp_tdma_probe,
-       .remove_new     = mmp_tdma_remove,
+       .remove         = mmp_tdma_remove,
 };
 
 module_platform_driver(mmp_tdma_driver);
index 66dc6d3..de09e1a 100644 (file)
@@ -644,7 +644,7 @@ MODULE_DEVICE_TABLE(of, moxart_dma_match);
 
 static struct platform_driver moxart_driver = {
        .probe  = moxart_probe,
-       .remove_new = moxart_remove,
+       .remove = moxart_remove,
        .driver = {
                .name           = "moxart-dma-engine",
                .of_match_table = moxart_dma_match,
index 68c247a..bf131cb 100644 (file)
@@ -1110,7 +1110,7 @@ MODULE_DEVICE_TABLE(of, mpc_dma_match);
 
 static struct platform_driver mpc_dma_driver = {
        .probe          = mpc_dma_probe,
-       .remove_new     = mpc_dma_remove,
+       .remove         = mpc_dma_remove,
        .driver = {
                .name = DRV_NAME,
                .of_match_table = mpc_dma_match,
index c8c67f4..d908143 100644 (file)
@@ -884,7 +884,7 @@ static struct platform_driver mv_xor_v2_driver = {
        .probe          = mv_xor_v2_probe,
        .suspend        = mv_xor_v2_suspend,
        .resume         = mv_xor_v2_resume,
-       .remove_new     = mv_xor_v2_remove,
+       .remove         = mv_xor_v2_remove,
        .driver         = {
                .name   = "mv_xor_v2",
                .of_match_table = of_match_ptr(mv_xor_v2_dt_ids),
index 3b011a9..0d6324c 100644 (file)
@@ -1515,7 +1515,7 @@ static struct platform_driver nbpf_driver = {
        },
        .id_table = nbpf_ids,
        .probe = nbpf_probe,
-       .remove_new = nbpf_remove,
+       .remove = nbpf_remove,
 };
 
 module_platform_driver(nbpf_driver);
index aa436f9..57cec75 100644 (file)
@@ -1252,7 +1252,7 @@ static void owl_dma_remove(struct platform_device *pdev)
 
 static struct platform_driver owl_dma_driver = {
        .probe  = owl_dma_probe,
-       .remove_new = owl_dma_remove,
+       .remove = owl_dma_remove,
        .driver = {
                .name = "dma-owl",
                .of_match_table = of_match_ptr(owl_dma_match),
index 7b78759..9d2a5a9 100644 (file)
@@ -4549,7 +4549,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
 
 static struct platform_driver ppc440spe_adma_driver = {
        .probe = ppc440spe_adma_probe,
-       .remove_new = ppc440spe_adma_remove,
+       .remove = ppc440spe_adma_remove,
        .driver = {
                .name = "PPC440SP(E)-ADMA",
                .of_match_table = ppc440spe_adma_of_match,
index 31f8da8..e50cf33 100644 (file)
@@ -1442,7 +1442,7 @@ static struct platform_driver pxad_driver = {
        },
        .id_table       = pxad_id_table,
        .probe          = pxad_probe,
-       .remove_new     = pxad_remove,
+       .remove         = pxad_remove,
 };
 
 static bool pxad_filter_fn(struct dma_chan *chan, void *param)
index d43a881..bbc3276 100644 (file)
@@ -1469,7 +1469,7 @@ static const struct dev_pm_ops bam_dma_pm_ops = {
 
 static struct platform_driver bam_dma_driver = {
        .probe = bam_dma_probe,
-       .remove_new = bam_dma_remove,
+       .remove = bam_dma_remove,
        .driver = {
                .name = "bam-dma-engine",
                .pm = &bam_dma_pm_ops,
index 4d2cd8d..c2b3e44 100644 (file)
@@ -948,7 +948,7 @@ MODULE_DEVICE_TABLE(acpi, hidma_acpi_ids);
 
 static struct platform_driver hidma_driver = {
        .probe = hidma_probe,
-       .remove_new = hidma_remove,
+       .remove = hidma_remove,
        .shutdown = hidma_shutdown,
        .driver = {
                   .name = "hidma",
index c1db398..6be54fd 100644 (file)
@@ -937,7 +937,7 @@ MODULE_DEVICE_TABLE(of, adm_of_match);
 
 static struct platform_driver adm_dma_driver = {
        .probe = adm_dma_probe,
-       .remove_new = adm_dma_remove,
+       .remove = adm_dma_remove,
        .driver = {
                .name = "adm-dma-engine",
                .of_match_table = adm_of_match,
index 01e656c..dc1a9a0 100644 (file)
@@ -1079,7 +1079,7 @@ static struct platform_driver sa11x0_dma_driver = {
                .pm     = &sa11x0_dma_pm_ops,
        },
        .probe          = sa11x0_dma_probe,
-       .remove_new     = sa11x0_dma_remove,
+       .remove         = sa11x0_dma_remove,
 };
 
 static int __init sa11x0_dma_init(void)
index 4284736..15b1f4b 100644 (file)
@@ -633,7 +633,7 @@ MODULE_DEVICE_TABLE(of, sf_pdma_dt_ids);
 
 static struct platform_driver sf_pdma_driver = {
        .probe          = sf_pdma_probe,
-       .remove_new     = sf_pdma_remove,
+       .remove         = sf_pdma_remove,
        .driver         = {
                .name   = "sf-pdma",
                .of_match_table = sf_pdma_dt_ids,
index 1094a2f..2679c1f 100644 (file)
@@ -2037,7 +2037,7 @@ static struct platform_driver rcar_dmac_driver = {
                .of_match_table = rcar_dmac_of_ids,
        },
        .probe          = rcar_dmac_probe,
-       .remove_new     = rcar_dmac_remove,
+       .remove         = rcar_dmac_remove,
        .shutdown       = rcar_dmac_shutdown,
 };
 
index 03f3f99..9235db5 100644 (file)
@@ -1004,7 +1004,7 @@ static struct platform_driver rz_dmac_driver = {
                .of_match_table = of_rz_dmac_match,
        },
        .probe          = rz_dmac_probe,
-       .remove_new     = rz_dmac_remove,
+       .remove         = rz_dmac_remove,
 };
 
 module_platform_driver(rz_dmac_driver);
index 8ead0a1..093e449 100644 (file)
@@ -906,7 +906,7 @@ static struct platform_driver sh_dmae_driver = {
                .pm     = &sh_dmae_pm,
                .name   = SH_DMAE_DRV_NAME,
        },
-       .remove_new     = sh_dmae_remove,
+       .remove         = sh_dmae_remove,
 };
 
 static int __init sh_dmae_init(void)
index f7cd0ca..b2081a6 100644 (file)
@@ -899,7 +899,7 @@ static struct platform_driver usb_dmac_driver = {
                .of_match_table = usb_dmac_of_ids,
        },
        .probe          = usb_dmac_probe,
-       .remove_new     = usb_dmac_remove,
+       .remove         = usb_dmac_remove,
        .shutdown       = usb_dmac_shutdown,
 };
 
index 3f54ff3..187a090 100644 (file)
@@ -1298,7 +1298,7 @@ static const struct dev_pm_ops sprd_dma_pm_ops = {
 
 static struct platform_driver sprd_dma_driver = {
        .probe = sprd_dma_probe,
-       .remove_new = sprd_dma_remove,
+       .remove = sprd_dma_remove,
        .driver = {
                .name = "sprd-dma",
                .of_match_table = sprd_dma_match,
index 8880b5e..c65ee0c 100644 (file)
@@ -858,7 +858,7 @@ static struct platform_driver st_fdma_platform_driver = {
                .of_match_table = st_fdma_match,
        },
        .probe = st_fdma_probe,
-       .remove_new = st_fdma_remove,
+       .remove = st_fdma_remove,
 };
 module_platform_driver(st_fdma_platform_driver);
 
index 0be6e94..b9470f7 100644 (file)
@@ -1827,7 +1827,7 @@ static const struct dev_pm_ops stm32_dma3_pm_ops = {
 
 static struct platform_driver stm32_dma3_driver = {
        .probe = stm32_dma3_probe,
-       .remove_new = stm32_dma3_remove,
+       .remove = stm32_dma3_remove,
        .driver = {
                .name = "stm32-dma3",
                .of_match_table = stm32_dma3_of_match,
index 2e7f9b0..f37cdf6 100644 (file)
@@ -1292,7 +1292,7 @@ MODULE_DEVICE_TABLE(of, sun4i_dma_match);
 
 static struct platform_driver sun4i_dma_driver = {
        .probe  = sun4i_dma_probe,
-       .remove_new = sun4i_dma_remove,
+       .remove = sun4i_dma_remove,
        .driver = {
                .name           = "sun4i-dma",
                .of_match_table = sun4i_dma_match,
index 583bf49..95ecb12 100644 (file)
@@ -1488,7 +1488,7 @@ static void sun6i_dma_remove(struct platform_device *pdev)
 
 static struct platform_driver sun6i_dma_driver = {
        .probe          = sun6i_dma_probe,
-       .remove_new     = sun6i_dma_remove,
+       .remove         = sun6i_dma_remove,
        .driver = {
                .name           = "sun6i-dma",
                .of_match_table = sun6i_dma_match,
index 3642508..cacf375 100644 (file)
@@ -1532,7 +1532,7 @@ static struct platform_driver tegra_dma_driver = {
                .of_match_table = tegra_dma_of_match,
        },
        .probe          = tegra_dma_probe,
-       .remove_new     = tegra_dma_remove,
+       .remove         = tegra_dma_remove,
 };
 
 module_platform_driver(tegra_dma_driver);
index 7d1acda..14a61e5 100644 (file)
@@ -1675,7 +1675,7 @@ static struct platform_driver tegra_dmac_driver = {
                .of_match_table = tegra_dma_of_match,
        },
        .probe          = tegra_dma_probe,
-       .remove_new     = tegra_dma_remove,
+       .remove         = tegra_dma_remove,
 };
 
 module_platform_driver(tegra_dmac_driver);
index 24ad707..2953008 100644 (file)
@@ -1008,7 +1008,7 @@ static struct platform_driver tegra_admac_driver = {
                .of_match_table = tegra_adma_of_match,
        },
        .probe          = tegra_adma_probe,
-       .remove_new     = tegra_adma_remove,
+       .remove         = tegra_adma_remove,
 };
 
 module_platform_driver(tegra_admac_driver);
index a8bb70c..8d8c3d6 100644 (file)
@@ -1243,7 +1243,7 @@ static const struct dev_pm_ops cppi41_pm_ops = {
 
 static struct platform_driver cpp41_dma_driver = {
        .probe  = cppi41_dma_probe,
-       .remove_new = cppi41_dma_remove,
+       .remove = cppi41_dma_remove,
        .driver = {
                .name = "cppi41-dma-engine",
                .pm = &cppi41_pm_ops,
index 5f8d2e9..343e986 100644 (file)
@@ -2636,7 +2636,7 @@ static const struct dev_pm_ops edma_pm_ops = {
 
 static struct platform_driver edma_driver = {
        .probe          = edma_probe,
-       .remove_new     = edma_remove,
+       .remove         = edma_remove,
        .driver = {
                .name   = "edma",
                .pm     = &edma_pm_ops,
index 6ab9bfb..8c023c6 100644 (file)
@@ -1915,7 +1915,7 @@ MODULE_DEVICE_TABLE(of, omap_dma_match);
 
 static struct platform_driver omap_dma_driver = {
        .probe  = omap_dma_probe,
-       .remove_new = omap_dma_remove,
+       .remove = omap_dma_remove,
        .driver = {
                .name = "omap-dma-engine",
                .of_match_table = omap_dma_match,
index 7410025..ecaf002 100644 (file)
@@ -761,7 +761,7 @@ static struct platform_driver td_driver = {
                .name   = DRIVER_NAME,
        },
        .probe  = td_probe,
-       .remove_new = td_remove,
+       .remove = td_remove,
 };
 
 module_platform_driver(td_driver);
index 44ba377..35d5221 100644 (file)
@@ -1260,14 +1260,14 @@ static const struct dev_pm_ops txx9dmac_dev_pm_ops = {
 };
 
 static struct platform_driver txx9dmac_chan_driver = {
-       .remove_new     = txx9dmac_chan_remove,
+       .remove         = txx9dmac_chan_remove,
        .driver = {
                .name   = "txx9dmac-chan",
        },
 };
 
 static struct platform_driver txx9dmac_driver = {
-       .remove_new     = txx9dmac_remove,
+       .remove         = txx9dmac_remove,
        .shutdown       = txx9dmac_shutdown,
        .driver = {
                .name   = "txx9dmac",
index ad7125f..7a99f86 100644 (file)
@@ -493,7 +493,7 @@ MODULE_DEVICE_TABLE(of, uniphier_mdmac_match);
 
 static struct platform_driver uniphier_mdmac_driver = {
        .probe = uniphier_mdmac_probe,
-       .remove_new = uniphier_mdmac_remove,
+       .remove = uniphier_mdmac_remove,
        .driver = {
                .name = "uniphier-mio-dmac",
                .of_match_table = uniphier_mdmac_match,
index 3ce2dc2..ceeb617 100644 (file)
@@ -603,7 +603,7 @@ MODULE_DEVICE_TABLE(of, uniphier_xdmac_match);
 
 static struct platform_driver uniphier_xdmac_driver = {
        .probe = uniphier_xdmac_probe,
-       .remove_new = uniphier_xdmac_remove,
+       .remove = uniphier_xdmac_remove,
        .driver = {
                .name = "uniphier-xdmac",
                .of_match_table = uniphier_xdmac_match,
index 275848a..f64624e 100644 (file)
@@ -1815,7 +1815,7 @@ MODULE_DEVICE_TABLE(of, xgene_dma_of_match_ptr);
 
 static struct platform_driver xgene_dma_driver = {
        .probe = xgene_dma_probe,
-       .remove_new = xgene_dma_remove,
+       .remove = xgene_dma_remove,
        .driver = {
                .name = "X-Gene-DMA",
                .of_match_table = xgene_dma_of_match_ptr,
index 718842f..93772ab 100644 (file)
@@ -1315,7 +1315,7 @@ static struct platform_driver xdma_driver = {
        },
        .id_table       = xdma_id_table,
        .probe          = xdma_probe,
-       .remove_new     = xdma_remove,
+       .remove         = xdma_remove,
 };
 
 module_platform_driver(xdma_driver);
index 5eb51ae..1bdd57d 100644 (file)
@@ -3271,7 +3271,7 @@ static struct platform_driver xilinx_vdma_driver = {
                .of_match_table = xilinx_dma_of_ids,
        },
        .probe = xilinx_dma_probe,
-       .remove_new = xilinx_dma_remove,
+       .remove = xilinx_dma_remove,
 };
 
 module_platform_driver(xilinx_vdma_driver);
index be87764..ee5d9fd 100644 (file)
@@ -1863,7 +1863,7 @@ MODULE_DEVICE_TABLE(of, xilinx_dpdma_of_match);
 
 static struct platform_driver xilinx_dpdma_driver = {
        .probe                  = xilinx_dpdma_probe,
-       .remove_new             = xilinx_dpdma_remove,
+       .remove                 = xilinx_dpdma_remove,
        .driver                 = {
                .name           = "xilinx-zynqmp-dpdma",
                .of_match_table = xilinx_dpdma_of_match,
index 9ae46f1..3156eff 100644 (file)
@@ -1192,7 +1192,7 @@ static struct platform_driver zynqmp_dma_driver = {
                .pm = &zynqmp_dma_dev_pm_ops,
        },
        .probe = zynqmp_dma_probe,
-       .remove_new = zynqmp_dma_remove,
+       .remove = zynqmp_dma_remove,
 };
 
 module_platform_driver(zynqmp_dma_driver);