]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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 e6a6566b309ee4507361d04d989fcf2c3811495b..a203fdd84950ef8393a7b4daa26398f2dbfc7a52 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 b0a1f3ad851b1e3d93fbf1a798ea7cfb12d4bda8..6d9079458fe9ccbcd95a578b1585775590cf7700 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 9588773dd2eb670a2f6115fdaef39a0e88248015..c499173d80b20f8a3de1279b77aed21c159aca57 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 baebddc740b0d483efe26b3567018385d65440f5..2d147712cbc69b5d296001a4e50cf46277798b89 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 299396121e6dc549e6a6915b681d303fc4fa932b..9c7b402200040f6e781172389b41587e076fff68 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 cfa6e1167a1fd1e80857c1115d00f3671803ec16..7f0e76439ce58ed255da3e9bf52b381edcf1e3e9 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 e1b92b4d7b056e9b9442e62759b2ebf98e8f3040..7ba52dee40a9672891fd60992a48aeb3ae9ef1ce 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 0bbaa7620bdd4ba1f354ec2c69cf95346b12d821..6c4d655ffe77fa1fad5bb018ca5430ea499c59c7 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 c9cfa341db510381e1b6761c18991ad8b8dc94f7..100057603fd4e1c4f11b678e5cf66517a509ec9b 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 fffafa86d964e01be1cd0ea49429aebef0352a22..b23536645ff7ccb59fa1363f500f742a41b7631f 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 47c58ad468cbca6608a9065e5cf180977030af36..2606cf9cd4299480e848e9416ca1ef60053c9d54 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 f9f1eda792546eb9513432caa7f8e7848a8f935f..60de1003193aa3420e7b46edc47c44c98d01ddf3 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 5005e138fc239bf23a8a888c90e5ad720f697d3d..823f5c6bc2e1a5bc5e30ea7175bff31e53ff8744 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 014ff523d5ec9046c389a1aa66f2d466a6c86348..6aa97e258a557c9139bccae91622c1d3211056bc 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 18a6c4bf6275c48ecb438c6a7d1f685fe4236af4..b5e7d18b97669467b5367ad9c21c4e78f3e189ac 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 3c648308a54a3830c146e8bf6e26f51ec7be4f22..d147353d47ab70d700d4729f070d509f2accc435 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 0532dd2640dce309a72a2c50414d38c05be33299..4127c1bdcca7c8b1b7775b9f403ef18df4423eb7 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 e913f0db99dadfa129ae8da43cd08d33c25b9919..a651e0995ce8de7193ea9dd21f3cdf0df9076b9a 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 72299a08af441b10aa4c904bcb504642107f1077..3449006cd14b56c3b65cfdff067a2e1379dae55f 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 5de8c21d41e7d3b0cf40845a5056f7c3c80a670a..acc2983e28e0dd3a2b6ceec821202457ee3b8a8c 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 9652e86667224b442e8c3c84c171aca1cb9984c5..2460cf9a44f5dc5202858ea702ec6651dad63dc8 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 0c5862bf26f8a5b5dcd2e21657efb273dbc653dc..9e1c6400c77be237684855759382d7b7bd2e6ea0 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 b69eabf12a24faa98166b3992daf9ca28693aa35..d5ddb4e30e71501a2eaaa8198f81aaccf279c863 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 58c7961ab9ad158ad6a66c2f7640e250ea38db41..fa77bb24a430743570fe123aa222fd19ff64ebd1 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 1bdc1500be40fc11e111af213781dc389e8e4ab6..08e15177427b94246951d38a2a1d76875c1e452e 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 7b41c670970a655267f470a945178c53c04602e9..9a5ec247ed6d924f364e9232e8a6de5476db7825 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 2cce529b448eb732f90dbeee236ac92a8d599ced..58d4fd6df0bf460a8ddef8e6f4393453feb82bd5 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 136fcaeff8dda9cdb3875240d6715211b4d9cc85..a95d31103d3063a1d11177a1a37b89ac2fd213e9 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 b76fe99e1151637ef92e3a2cecd3c5e7991c9d92..c8dc504510f1e325017ba4fa5e7aa72b019e3be4 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 66dc6d31b603dcdc513b9e004971da6435db28ee..de09e1ab77676d3ff2070dfb30c9d03a9bb63e0d 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 68c247a46321cbf906900f0ec741eca4f1382fe4..bf131cb5db66493e4587f5783c0aa2fc4123dd32 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 c8c67f4d982c016dfc81f60fcc7147a07ee695d1..d908143c77312f323cf3851ca34ca99952739488 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 3b011a91d48ec72bbac4ff152137981c6faefda7..0d6324c4e2be0b8d132b6074a2b1cc64cea5a34f 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 aa436f9e3571855a2838b26f3c442386370ff5db..57cec757d8f5687d465f8b2a7997709f91f03335 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 7b78759ac734dc61cb88136b6b1cb3c84ff9f369..9d2a5a967a99c81dd5eaf1af1362fc2b207d4339 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 31f8da810c055a4e93472348b7b8d642219ac972..e50cf3357e5ef6068ed1e2e085facf398c100fe8 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 d43a881e43b904a8e98faf582221dd05cede98e6..bbc3276992bb012a1b79937bdbd069fc01f75331 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 4d2cd8d9ec74a157e206c7662a365643ed7f9ab5..c2b3e4452e71509a16502f9dd0fb89c4496b0738 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 c1db398adc84d715fbabbb1fad79c1a276c93487..6be54fddcee18f9be6b5fee9f55c4bbd9a99ca56 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 01e656c69e6c1f79657f09d94d676d885d5a1b2f..dc1a9a05252ec6aaaa088c7322c6e09264f45313 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 428473611115d1007755f244a51ab52eeefe46a5..15b1f4baf357d7ad9210dea196327c18b2d84440 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 1094a2f821649ca5c422079ae9321eeea7830da4..2679c1f09faf075159282eae26d888cd5b183684 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 03f3f99f0f4a6e9ad01280467bd9e6f4567927a7..9235db5510266aec4eb520b559e37e159106fd49 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 8ead0a1fd2371b82b491cca330fc0417356112ca..093e449e19eeeb5a190b4e53a500cf061d054784 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 f7cd0cad056c16ced372483d64b5d1032696dea4..b2081a6126e6fa7eb0aa129c25f4e5be7a4ada7e 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 3f54ff37c5e051a4d02fe7962abf0474317994e5..187a090463cedf611960d928e17e16543b868a2b 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 8880b5e336f8d4afa80901d79aaf38b4a7218446..c65ee0c7bfbdb2ade49e24618a5a83160440681d 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 0be6e944df6fd5d2a02974085251549d9389a37e..b9470f783f98940a99addaeef6d0a8bc07b5c54b 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 2e7f9b07fdd29e2ecff58974322a8d36c3bbaff4..f37cdf6f21796dd4b960ce6fc9489f2a41942819 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 583bf49031cf2dbf19f76bb87882fa4fbc82c6fb..95ecb12caaa5e5bf7801b3b52571afe51ba92785 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 3642508e88bb2211c13ad705bce34975945821e9..cacf3757adc2e2ee1735e53e19c97281201582af 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 7d1acda2d72b3571467aea06fe0a72ff6d14dd80..14a61e53a41b73f29bb2ab04ae9d95421280f51c 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 24ad7077c53ba8f87b7dfb53b1d922a4bec411d2..2953008d42efadc6a1f5cf10e8ab19bd58da3448 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 a8bb70c2d10992475d0bc32e1beb45332ee258f8..8d8c3d6038fcc20b43d1b31292092cde00dc123e 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 5f8d2e93ff3fb516ea6374e007110b057377f11e..343e986e66e7ce0ccf2b9a4fccedb04cdcc36500 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 6ab9bfbdc4809e95d74576a488f81cbf6c4983ac..8c023c6e623a5aae4754ea5423bf9575e2e9ed81 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 7410025605e03420c7bc967c02e7240ecbad5c21..ecaf002558afc16eae857cbbf0c4dbd61de65115 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 44ba377b4b5a5ed377db1a4ac8d0cc3c30508e3d..35d5221683b2830a800d0b43d3d9911b740428a1 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 ad7125f6e2ca8e4452195e3ad4cedf4ee154a5b3..7a99f86ecb5a033dba3d6df70ed0affee75124a2 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 3ce2dc2ad9de4290887e6c5344206d0e747b0c7f..ceeb6171c9d1174cc643e9b5e7c70f6488884aec 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 275848a9c4502c2549743a47b551bde89bcafe05..f64624ea44add96c78e162b7cef7ca87c44bd277 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 718842fdaf98ed08a0adde013b13284600c39420..93772abc3b49f32311098c17505a5a5be78c4a2d 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 5eb51ae93e89d0b2aed30dc470b31f198e078912..1bdd57de87a6e859e9466443ab15c65415446af6 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 be87764af9e836a141d3639eaa7a2448daab6bf4..ee5d9fdbfd7fa84f82fd45970151c056275ce7d3 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 9ae46f1198fe60d112d99b39e38bc95fcc8c852d..3156eff5deb07c6ec69bbd9a4ddd56c43879c4a0 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);