Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: Switch back to struct platform_driver::remove()

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/spi 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.

The change for the spi-npcm-fiu stands out in the diffstat because the
inconsistent formatting style of the platform_driver initializer is
fixed to match the other struct initializer in the file.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20240925113501.25208-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Uwe Kleine-König and committed by
Mark Brown
494c3dc4 610442f8

+92 -92
+1 -1
drivers/spi/atmel-quadspi.c
··· 840 840 .pm = pm_ptr(&atmel_qspi_pm_ops), 841 841 }, 842 842 .probe = atmel_qspi_probe, 843 - .remove_new = atmel_qspi_remove, 843 + .remove = atmel_qspi_remove, 844 844 }; 845 845 module_platform_driver(atmel_qspi_driver); 846 846
+1 -1
drivers/spi/spi-ar934x.c
··· 223 223 .of_match_table = ar934x_spi_match, 224 224 }, 225 225 .probe = ar934x_spi_probe, 226 - .remove_new = ar934x_spi_remove, 226 + .remove = ar934x_spi_remove, 227 227 }; 228 228 229 229 module_platform_driver(ar934x_spi_driver);
+1 -1
drivers/spi/spi-aspeed-smc.c
··· 1189 1189 1190 1190 static struct platform_driver aspeed_spi_driver = { 1191 1191 .probe = aspeed_spi_probe, 1192 - .remove_new = aspeed_spi_remove, 1192 + .remove = aspeed_spi_remove, 1193 1193 .driver = { 1194 1194 .name = DEVICE_NAME, 1195 1195 .of_match_table = aspeed_spi_matches,
+1 -1
drivers/spi/spi-at91-usart.c
··· 650 650 .pm = &at91_usart_spi_pm_ops, 651 651 }, 652 652 .probe = at91_usart_spi_probe, 653 - .remove_new = at91_usart_spi_remove, 653 + .remove = at91_usart_spi_remove, 654 654 }; 655 655 656 656 module_platform_driver(at91_usart_spi_driver);
+1 -1
drivers/spi/spi-ath79.c
··· 253 253 254 254 static struct platform_driver ath79_spi_driver = { 255 255 .probe = ath79_spi_probe, 256 - .remove_new = ath79_spi_remove, 256 + .remove = ath79_spi_remove, 257 257 .shutdown = ath79_spi_shutdown, 258 258 .driver = { 259 259 .name = DRV_NAME,
+1 -1
drivers/spi/spi-atmel.c
··· 1781 1781 .of_match_table = atmel_spi_dt_ids, 1782 1782 }, 1783 1783 .probe = atmel_spi_probe, 1784 - .remove_new = atmel_spi_remove, 1784 + .remove = atmel_spi_remove, 1785 1785 }; 1786 1786 module_platform_driver(atmel_spi_driver); 1787 1787
+1 -1
drivers/spi/spi-au1550.c
··· 940 940 941 941 static struct platform_driver au1550_spi_drv = { 942 942 .probe = au1550_spi_probe, 943 - .remove_new = au1550_spi_remove, 943 + .remove = au1550_spi_remove, 944 944 .driver = { 945 945 .name = "au1550-spi", 946 946 },
+1 -1
drivers/spi/spi-bcm2835.c
··· 1435 1435 .of_match_table = bcm2835_spi_match, 1436 1436 }, 1437 1437 .probe = bcm2835_spi_probe, 1438 - .remove_new = bcm2835_spi_remove, 1438 + .remove = bcm2835_spi_remove, 1439 1439 .shutdown = bcm2835_spi_remove, 1440 1440 }; 1441 1441 module_platform_driver(bcm2835_spi_driver);
+1 -1
drivers/spi/spi-bcm2835aux.c
··· 577 577 .of_match_table = bcm2835aux_spi_match, 578 578 }, 579 579 .probe = bcm2835aux_spi_probe, 580 - .remove_new = bcm2835aux_spi_remove, 580 + .remove = bcm2835aux_spi_remove, 581 581 }; 582 582 module_platform_driver(bcm2835aux_spi_driver); 583 583
+1 -1
drivers/spi/spi-bcm63xx-hsspi.c
··· 944 944 .of_match_table = bcm63xx_hsspi_of_match, 945 945 }, 946 946 .probe = bcm63xx_hsspi_probe, 947 - .remove_new = bcm63xx_hsspi_remove, 947 + .remove = bcm63xx_hsspi_remove, 948 948 }; 949 949 950 950 module_platform_driver(bcm63xx_hsspi_driver);
+1 -1
drivers/spi/spi-bcm63xx.c
··· 656 656 }, 657 657 .id_table = bcm63xx_spi_dev_match, 658 658 .probe = bcm63xx_spi_probe, 659 - .remove_new = bcm63xx_spi_remove, 659 + .remove = bcm63xx_spi_remove, 660 660 }; 661 661 662 662 module_platform_driver(bcm63xx_spi_driver);
+1 -1
drivers/spi/spi-bcmbca-hsspi.c
··· 633 633 .of_match_table = bcmbca_hsspi_of_match, 634 634 }, 635 635 .probe = bcmbca_hsspi_probe, 636 - .remove_new = bcmbca_hsspi_remove, 636 + .remove = bcmbca_hsspi_remove, 637 637 }; 638 638 639 639 module_platform_driver(bcmbca_hsspi_driver);
+1 -1
drivers/spi/spi-brcmstb-qspi.c
··· 28 28 29 29 static struct platform_driver brcmstb_qspi_driver = { 30 30 .probe = brcmstb_qspi_probe, 31 - .remove_new = brcmstb_qspi_remove, 31 + .remove = brcmstb_qspi_remove, 32 32 .driver = { 33 33 .name = "brcmstb_qspi", 34 34 .pm = &bcm_qspi_pm_ops,
+1 -1
drivers/spi/spi-cadence-quadspi.c
··· 2112 2112 2113 2113 static struct platform_driver cqspi_platform_driver = { 2114 2114 .probe = cqspi_probe, 2115 - .remove_new = cqspi_remove, 2115 + .remove = cqspi_remove, 2116 2116 .driver = { 2117 2117 .name = CQSPI_NAME, 2118 2118 .pm = pm_ptr(&cqspi_dev_pm_ops),
+1 -1
drivers/spi/spi-cadence.c
··· 804 804 /* cdns_spi_driver - This structure defines the SPI subsystem platform driver */ 805 805 static struct platform_driver cdns_spi_driver = { 806 806 .probe = cdns_spi_probe, 807 - .remove_new = cdns_spi_remove, 807 + .remove = cdns_spi_remove, 808 808 .driver = { 809 809 .name = CDNS_SPI_NAME, 810 810 .of_match_table = cdns_spi_of_match,
+1 -1
drivers/spi/spi-cavium-octeon.c
··· 90 90 .of_match_table = octeon_spi_match, 91 91 }, 92 92 .probe = octeon_spi_probe, 93 - .remove_new = octeon_spi_remove, 93 + .remove = octeon_spi_remove, 94 94 }; 95 95 96 96 module_platform_driver(octeon_spi_driver);
+1 -1
drivers/spi/spi-coldfire-qspi.c
··· 502 502 .driver.name = DRIVER_NAME, 503 503 .driver.pm = &mcfqspi_pm, 504 504 .probe = mcfqspi_probe, 505 - .remove_new = mcfqspi_remove, 505 + .remove = mcfqspi_remove, 506 506 }; 507 507 module_platform_driver(mcfqspi_driver); 508 508
+1 -1
drivers/spi/spi-davinci.c
··· 1039 1039 .of_match_table = of_match_ptr(davinci_spi_of_match), 1040 1040 }, 1041 1041 .probe = davinci_spi_probe, 1042 - .remove_new = davinci_spi_remove, 1042 + .remove = davinci_spi_remove, 1043 1043 }; 1044 1044 module_platform_driver(davinci_spi_driver); 1045 1045
+1 -1
drivers/spi/spi-dln2.c
··· 871 871 .pm = &dln2_spi_pm, 872 872 }, 873 873 .probe = dln2_spi_probe, 874 - .remove_new = dln2_spi_remove, 874 + .remove = dln2_spi_remove, 875 875 }; 876 876 module_platform_driver(spi_dln2_driver); 877 877
+1 -1
drivers/spi/spi-dw-bt1.c
··· 317 317 318 318 static struct platform_driver dw_spi_bt1_driver = { 319 319 .probe = dw_spi_bt1_probe, 320 - .remove_new = dw_spi_bt1_remove, 320 + .remove = dw_spi_bt1_remove, 321 321 .driver = { 322 322 .name = "bt1-sys-ssi", 323 323 .of_match_table = dw_spi_bt1_of_match,
+1 -1
drivers/spi/spi-dw-mmio.c
··· 433 433 434 434 static struct platform_driver dw_spi_mmio_driver = { 435 435 .probe = dw_spi_mmio_probe, 436 - .remove_new = dw_spi_mmio_remove, 436 + .remove = dw_spi_mmio_remove, 437 437 .driver = { 438 438 .name = DRIVER_NAME, 439 439 .of_match_table = dw_spi_mmio_of_match,
+1 -1
drivers/spi/spi-ep93xx.c
··· 729 729 .of_match_table = ep93xx_spi_of_ids, 730 730 }, 731 731 .probe = ep93xx_spi_probe, 732 - .remove_new = ep93xx_spi_remove, 732 + .remove = ep93xx_spi_remove, 733 733 }; 734 734 module_platform_driver(ep93xx_spi_driver); 735 735
+1 -1
drivers/spi/spi-fsl-dspi.c
··· 1469 1469 .driver.of_match_table = fsl_dspi_dt_ids, 1470 1470 .driver.pm = &dspi_pm, 1471 1471 .probe = dspi_probe, 1472 - .remove_new = dspi_remove, 1472 + .remove = dspi_remove, 1473 1473 .shutdown = dspi_shutdown, 1474 1474 }; 1475 1475 module_platform_driver(fsl_dspi_driver);
+1 -1
drivers/spi/spi-fsl-espi.c
··· 835 835 .pm = &espi_pm, 836 836 }, 837 837 .probe = of_fsl_espi_probe, 838 - .remove_new = of_fsl_espi_remove, 838 + .remove = of_fsl_espi_remove, 839 839 }; 840 840 module_platform_driver(fsl_espi_driver); 841 841
+1 -1
drivers/spi/spi-fsl-lpspi.c
··· 1020 1020 .pm = pm_ptr(&fsl_lpspi_pm_ops), 1021 1021 }, 1022 1022 .probe = fsl_lpspi_probe, 1023 - .remove_new = fsl_lpspi_remove, 1023 + .remove = fsl_lpspi_remove, 1024 1024 }; 1025 1025 module_platform_driver(fsl_lpspi_driver); 1026 1026
+1 -1
drivers/spi/spi-fsl-qspi.c
··· 997 997 .pm = &fsl_qspi_pm_ops, 998 998 }, 999 999 .probe = fsl_qspi_probe, 1000 - .remove_new = fsl_qspi_remove, 1000 + .remove = fsl_qspi_remove, 1001 1001 }; 1002 1002 module_platform_driver(fsl_qspi_driver); 1003 1003
+2 -2
drivers/spi/spi-fsl-spi.c
··· 714 714 .of_match_table = of_fsl_spi_match, 715 715 }, 716 716 .probe = of_fsl_spi_probe, 717 - .remove_new = of_fsl_spi_remove, 717 + .remove = of_fsl_spi_remove, 718 718 }; 719 719 720 720 #ifdef CONFIG_MPC832x_RDB ··· 757 757 MODULE_ALIAS("platform:mpc8xxx_spi"); 758 758 static struct platform_driver mpc8xxx_spi_driver = { 759 759 .probe = plat_mpc8xxx_spi_probe, 760 - .remove_new = plat_mpc8xxx_spi_remove, 760 + .remove = plat_mpc8xxx_spi_remove, 761 761 .driver = { 762 762 .name = "mpc8xxx_spi", 763 763 },
+1 -1
drivers/spi/spi-hisi-kunpeng.c
··· 542 542 543 543 static struct platform_driver hisi_spi_driver = { 544 544 .probe = hisi_spi_probe, 545 - .remove_new = hisi_spi_remove, 545 + .remove = hisi_spi_remove, 546 546 .driver = { 547 547 .name = "hisi-kunpeng-spi", 548 548 .acpi_match_table = hisi_spi_acpi_match,
+1 -1
drivers/spi/spi-img-spfi.c
··· 756 756 .of_match_table = of_match_ptr(img_spfi_of_match), 757 757 }, 758 758 .probe = img_spfi_probe, 759 - .remove_new = img_spfi_remove, 759 + .remove = img_spfi_remove, 760 760 }; 761 761 module_platform_driver(img_spfi_driver); 762 762
+1 -1
drivers/spi/spi-imx.c
··· 1956 1956 .pm = pm_ptr(&imx_spi_pm), 1957 1957 }, 1958 1958 .probe = spi_imx_probe, 1959 - .remove_new = spi_imx_remove, 1959 + .remove = spi_imx_remove, 1960 1960 }; 1961 1961 module_platform_driver(spi_imx_driver); 1962 1962
+1 -1
drivers/spi/spi-iproc-qspi.c
··· 138 138 139 139 static struct platform_driver bcm_iproc_driver = { 140 140 .probe = bcm_iproc_probe, 141 - .remove_new = bcm_iproc_remove, 141 + .remove = bcm_iproc_remove, 142 142 .driver = { 143 143 .name = "bcm_iproc", 144 144 .pm = &bcm_qspi_pm_ops,
+1 -1
drivers/spi/spi-lantiq-ssc.c
··· 1029 1029 1030 1030 static struct platform_driver lantiq_ssc_driver = { 1031 1031 .probe = lantiq_ssc_probe, 1032 - .remove_new = lantiq_ssc_remove, 1032 + .remove = lantiq_ssc_remove, 1033 1033 .driver = { 1034 1034 .name = "spi-lantiq-ssc", 1035 1035 .of_match_table = lantiq_ssc_match,
+1 -1
drivers/spi/spi-meson-spicc.c
··· 949 949 950 950 static struct platform_driver meson_spicc_driver = { 951 951 .probe = meson_spicc_probe, 952 - .remove_new = meson_spicc_remove, 952 + .remove = meson_spicc_remove, 953 953 .driver = { 954 954 .name = "meson-spicc", 955 955 .of_match_table = of_match_ptr(meson_spicc_of_match),
+1 -1
drivers/spi/spi-meson-spifc.c
··· 429 429 430 430 static struct platform_driver meson_spifc_driver = { 431 431 .probe = meson_spifc_probe, 432 - .remove_new = meson_spifc_remove, 432 + .remove = meson_spifc_remove, 433 433 .driver = { 434 434 .name = "meson-spifc", 435 435 .of_match_table = of_match_ptr(meson_spifc_dt_match),
+1 -1
drivers/spi/spi-microchip-core-qspi.c
··· 575 575 .name = "microchip,coreqspi", 576 576 .of_match_table = mchp_coreqspi_of_match, 577 577 }, 578 - .remove_new = mchp_coreqspi_remove, 578 + .remove = mchp_coreqspi_remove, 579 579 }; 580 580 module_platform_driver(mchp_coreqspi_driver); 581 581
+1 -1
drivers/spi/spi-microchip-core.c
··· 622 622 .pm = MICROCHIP_SPI_PM_OPS, 623 623 .of_match_table = of_match_ptr(mchp_corespi_dt_ids), 624 624 }, 625 - .remove_new = mchp_corespi_remove, 625 + .remove = mchp_corespi_remove, 626 626 }; 627 627 module_platform_driver(mchp_corespi_driver); 628 628 MODULE_DESCRIPTION("Microchip coreSPI SPI controller driver");
+1 -1
drivers/spi/spi-mpc52xx.c
··· 544 544 .of_match_table = mpc52xx_spi_match, 545 545 }, 546 546 .probe = mpc52xx_spi_probe, 547 - .remove_new = mpc52xx_spi_remove, 547 + .remove = mpc52xx_spi_remove, 548 548 }; 549 549 module_platform_driver(mpc52xx_spi_of_driver);
+1 -1
drivers/spi/spi-mt65xx.c
··· 1432 1432 .of_match_table = mtk_spi_of_match, 1433 1433 }, 1434 1434 .probe = mtk_spi_probe, 1435 - .remove_new = mtk_spi_remove, 1435 + .remove = mtk_spi_remove, 1436 1436 }; 1437 1437 1438 1438 module_platform_driver(mtk_spi_driver);
+1 -1
drivers/spi/spi-mtk-nor.c
··· 998 998 .pm = &mtk_nor_pm_ops, 999 999 }, 1000 1000 .probe = mtk_nor_probe, 1001 - .remove_new = mtk_nor_remove, 1001 + .remove = mtk_nor_remove, 1002 1002 }; 1003 1003 1004 1004 module_platform_driver(mtk_nor_driver);
+1 -1
drivers/spi/spi-mtk-snfi.c
··· 1477 1477 1478 1478 static struct platform_driver mtk_snand_driver = { 1479 1479 .probe = mtk_snand_probe, 1480 - .remove_new = mtk_snand_remove, 1480 + .remove = mtk_snand_remove, 1481 1481 .driver = { 1482 1482 .name = "mtk-snand", 1483 1483 .of_match_table = mtk_snand_ids,
+1 -1
drivers/spi/spi-mxic.c
··· 836 836 837 837 static struct platform_driver mxic_spi_driver = { 838 838 .probe = mxic_spi_probe, 839 - .remove_new = mxic_spi_remove, 839 + .remove = mxic_spi_remove, 840 840 .driver = { 841 841 .name = "mxic-spi", 842 842 .of_match_table = mxic_spi_of_ids,
+1 -1
drivers/spi/spi-mxs.c
··· 657 657 658 658 static struct platform_driver mxs_spi_driver = { 659 659 .probe = mxs_spi_probe, 660 - .remove_new = mxs_spi_remove, 660 + .remove = mxs_spi_remove, 661 661 .driver = { 662 662 .name = DRIVER_NAME, 663 663 .of_match_table = mxs_spi_dt_ids,
+4 -4
drivers/spi/spi-npcm-fiu.c
··· 766 766 767 767 static struct platform_driver npcm_fiu_driver = { 768 768 .driver = { 769 - .name = "NPCM-FIU", 770 - .bus = &platform_bus_type, 769 + .name = "NPCM-FIU", 770 + .bus = &platform_bus_type, 771 771 .of_match_table = npcm_fiu_dt_ids, 772 772 }, 773 - .probe = npcm_fiu_probe, 774 - .remove_new = npcm_fiu_remove, 773 + .probe = npcm_fiu_probe, 774 + .remove = npcm_fiu_remove, 775 775 }; 776 776 module_platform_driver(npcm_fiu_driver); 777 777
+1 -1
drivers/spi/spi-npcm-pspi.c
··· 452 452 .of_match_table = npcm_pspi_match, 453 453 }, 454 454 .probe = npcm_pspi_probe, 455 - .remove_new = npcm_pspi_remove, 455 + .remove = npcm_pspi_remove, 456 456 }; 457 457 module_platform_driver(npcm_pspi_driver); 458 458
+1 -1
drivers/spi/spi-nxp-fspi.c
··· 1331 1331 .pm = &nxp_fspi_pm_ops, 1332 1332 }, 1333 1333 .probe = nxp_fspi_probe, 1334 - .remove_new = nxp_fspi_remove, 1334 + .remove = nxp_fspi_remove, 1335 1335 }; 1336 1336 module_platform_driver(nxp_fspi_driver); 1337 1337
+1 -1
drivers/spi/spi-oc-tiny.c
··· 288 288 289 289 static struct platform_driver tiny_spi_driver = { 290 290 .probe = tiny_spi_probe, 291 - .remove_new = tiny_spi_remove, 291 + .remove = tiny_spi_remove, 292 292 .driver = { 293 293 .name = DRV_NAME, 294 294 .pm = NULL,
+1 -1
drivers/spi/spi-omap-uwire.c
··· 523 523 .name = "omap_uwire", 524 524 }, 525 525 .probe = uwire_probe, 526 - .remove_new = uwire_remove, 526 + .remove = uwire_remove, 527 527 // suspend ... unuse ck 528 528 // resume ... use ck 529 529 };
+1 -1
drivers/spi/spi-omap2-mcspi.c
··· 1654 1654 .of_match_table = omap_mcspi_of_match, 1655 1655 }, 1656 1656 .probe = omap2_mcspi_probe, 1657 - .remove_new = omap2_mcspi_remove, 1657 + .remove = omap2_mcspi_remove, 1658 1658 }; 1659 1659 1660 1660 module_platform_driver(omap2_mcspi_driver);
+1 -1
drivers/spi/spi-orion.c
··· 846 846 .of_match_table = of_match_ptr(orion_spi_of_match_table), 847 847 }, 848 848 .probe = orion_spi_probe, 849 - .remove_new = orion_spi_remove, 849 + .remove = orion_spi_remove, 850 850 }; 851 851 852 852 module_platform_driver(orion_spi_driver);
+1 -1
drivers/spi/spi-pic32-sqi.c
··· 682 682 .of_match_table = of_match_ptr(pic32_sqi_of_ids), 683 683 }, 684 684 .probe = pic32_sqi_probe, 685 - .remove_new = pic32_sqi_remove, 685 + .remove = pic32_sqi_remove, 686 686 }; 687 687 688 688 module_platform_driver(pic32_sqi_driver);
+1 -1
drivers/spi/spi-pic32.c
··· 859 859 .of_match_table = of_match_ptr(pic32_spi_of_match), 860 860 }, 861 861 .probe = pic32_spi_probe, 862 - .remove_new = pic32_spi_remove, 862 + .remove = pic32_spi_remove, 863 863 }; 864 864 865 865 module_platform_driver(pic32_spi_driver);
+1 -1
drivers/spi/spi-ppc4xx.c
··· 484 484 485 485 static struct platform_driver spi_ppc4xx_of_driver = { 486 486 .probe = spi_ppc4xx_of_probe, 487 - .remove_new = spi_ppc4xx_of_remove, 487 + .remove = spi_ppc4xx_of_remove, 488 488 .driver = { 489 489 .name = DRIVER_NAME, 490 490 .of_match_table = spi_ppc4xx_of_match,
+1 -1
drivers/spi/spi-pxa2xx-platform.c
··· 207 207 .of_match_table = pxa2xx_spi_of_match, 208 208 }, 209 209 .probe = pxa2xx_spi_platform_probe, 210 - .remove_new = pxa2xx_spi_platform_remove, 210 + .remove = pxa2xx_spi_platform_remove, 211 211 }; 212 212 213 213 static int __init pxa2xx_spi_init(void)
+1 -1
drivers/spi/spi-qcom-qspi.c
··· 908 908 .of_match_table = qcom_qspi_dt_match, 909 909 }, 910 910 .probe = qcom_qspi_probe, 911 - .remove_new = qcom_qspi_remove, 911 + .remove = qcom_qspi_remove, 912 912 }; 913 913 module_platform_driver(qcom_qspi_driver); 914 914
+1 -1
drivers/spi/spi-qup.c
··· 1364 1364 .of_match_table = spi_qup_dt_match, 1365 1365 }, 1366 1366 .probe = spi_qup_probe, 1367 - .remove_new = spi_qup_remove, 1367 + .remove = spi_qup_remove, 1368 1368 }; 1369 1369 module_platform_driver(spi_qup_driver); 1370 1370
+1 -1
drivers/spi/spi-rb4xx.c
··· 196 196 197 197 static struct platform_driver rb4xx_spi_drv = { 198 198 .probe = rb4xx_spi_probe, 199 - .remove_new = rb4xx_spi_remove, 199 + .remove = rb4xx_spi_remove, 200 200 .driver = { 201 201 .name = "rb4xx-spi", 202 202 .of_match_table = of_match_ptr(rb4xx_spi_dt_match),
+1 -1
drivers/spi/spi-rockchip-sfc.c
··· 677 677 .of_match_table = rockchip_sfc_dt_ids, 678 678 }, 679 679 .probe = rockchip_sfc_probe, 680 - .remove_new = rockchip_sfc_remove, 680 + .remove = rockchip_sfc_remove, 681 681 }; 682 682 module_platform_driver(rockchip_sfc_driver); 683 683
+1 -1
drivers/spi/spi-rockchip.c
··· 1036 1036 .of_match_table = of_match_ptr(rockchip_spi_dt_match), 1037 1037 }, 1038 1038 .probe = rockchip_spi_probe, 1039 - .remove_new = rockchip_spi_remove, 1039 + .remove = rockchip_spi_remove, 1040 1040 }; 1041 1041 1042 1042 module_platform_driver(rockchip_spi_driver);
+1 -1
drivers/spi/spi-rpc-if.c
··· 206 206 207 207 static struct platform_driver rpcif_spi_driver = { 208 208 .probe = rpcif_spi_probe, 209 - .remove_new = rpcif_spi_remove, 209 + .remove = rpcif_spi_remove, 210 210 .id_table = rpc_if_spi_id_table, 211 211 .driver = { 212 212 .name = "rpc-if-spi",
+1 -1
drivers/spi/spi-rspi.c
··· 1427 1427 1428 1428 static struct platform_driver rspi_driver = { 1429 1429 .probe = rspi_probe, 1430 - .remove_new = rspi_remove, 1430 + .remove = rspi_remove, 1431 1431 .id_table = spi_driver_ids, 1432 1432 .driver = { 1433 1433 .name = "renesas_spi",
+1 -1
drivers/spi/spi-rzv2m-csi.c
··· 683 683 684 684 static struct platform_driver rzv2m_csi_drv = { 685 685 .probe = rzv2m_csi_probe, 686 - .remove_new = rzv2m_csi_remove, 686 + .remove = rzv2m_csi_remove, 687 687 .driver = { 688 688 .name = "rzv2m_csi", 689 689 .of_match_table = rzv2m_csi_match,
+1 -1
drivers/spi/spi-s3c64xx.c
··· 1681 1681 .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), 1682 1682 }, 1683 1683 .probe = s3c64xx_spi_probe, 1684 - .remove_new = s3c64xx_spi_remove, 1684 + .remove = s3c64xx_spi_remove, 1685 1685 .id_table = s3c64xx_spi_driver_ids, 1686 1686 }; 1687 1687 MODULE_ALIAS("platform:s3c64xx-spi");
+1 -1
drivers/spi/spi-sh-hspi.c
··· 293 293 294 294 static struct platform_driver hspi_driver = { 295 295 .probe = hspi_probe, 296 - .remove_new = hspi_remove, 296 + .remove = hspi_remove, 297 297 .driver = { 298 298 .name = "sh-hspi", 299 299 .of_match_table = hspi_of_match,
+1 -1
drivers/spi/spi-sh-msiof.c
··· 1429 1429 1430 1430 static struct platform_driver sh_msiof_spi_drv = { 1431 1431 .probe = sh_msiof_spi_probe, 1432 - .remove_new = sh_msiof_spi_remove, 1432 + .remove = sh_msiof_spi_remove, 1433 1433 .id_table = spi_driver_ids, 1434 1434 .driver = { 1435 1435 .name = "spi_sh_msiof",
+1 -1
drivers/spi/spi-sh-sci.c
··· 183 183 184 184 static struct platform_driver sh_sci_spi_drv = { 185 185 .probe = sh_sci_spi_probe, 186 - .remove_new = sh_sci_spi_remove, 186 + .remove = sh_sci_spi_remove, 187 187 .driver = { 188 188 .name = "spi_sh_sci", 189 189 },
+1 -1
drivers/spi/spi-sh.c
··· 459 459 460 460 static struct platform_driver spi_sh_driver = { 461 461 .probe = spi_sh_probe, 462 - .remove_new = spi_sh_remove, 462 + .remove = spi_sh_remove, 463 463 .driver = { 464 464 .name = "sh_spi", 465 465 },
+1 -1
drivers/spi/spi-sifive.c
··· 471 471 472 472 static struct platform_driver sifive_spi_driver = { 473 473 .probe = sifive_spi_probe, 474 - .remove_new = sifive_spi_remove, 474 + .remove = sifive_spi_remove, 475 475 .driver = { 476 476 .name = SIFIVE_SPI_DRIVER_NAME, 477 477 .pm = &sifive_spi_pm_ops,
+1 -1
drivers/spi/spi-slave-mt27xx.c
··· 556 556 .of_match_table = mtk_spi_slave_of_match, 557 557 }, 558 558 .probe = mtk_spi_slave_probe, 559 - .remove_new = mtk_spi_slave_remove, 559 + .remove = mtk_spi_slave_remove, 560 560 }; 561 561 562 562 module_platform_driver(mtk_spi_slave_driver);
+1 -1
drivers/spi/spi-sn-f-ospi.c
··· 680 680 .of_match_table = f_ospi_dt_ids, 681 681 }, 682 682 .probe = f_ospi_probe, 683 - .remove_new = f_ospi_remove, 683 + .remove = f_ospi_remove, 684 684 }; 685 685 module_platform_driver(f_ospi_driver); 686 686
+1 -1
drivers/spi/spi-sprd.c
··· 1072 1072 .pm = &sprd_spi_pm_ops, 1073 1073 }, 1074 1074 .probe = sprd_spi_probe, 1075 - .remove_new = sprd_spi_remove, 1075 + .remove = sprd_spi_remove, 1076 1076 }; 1077 1077 1078 1078 module_platform_driver(sprd_spi_driver);
+1 -1
drivers/spi/spi-st-ssc4.c
··· 449 449 .of_match_table = of_match_ptr(stm_spi_match), 450 450 }, 451 451 .probe = spi_st_probe, 452 - .remove_new = spi_st_remove, 452 + .remove = spi_st_remove, 453 453 }; 454 454 module_platform_driver(spi_st_driver); 455 455
+1 -1
drivers/spi/spi-stm32-qspi.c
··· 963 963 964 964 static struct platform_driver stm32_qspi_driver = { 965 965 .probe = stm32_qspi_probe, 966 - .remove_new = stm32_qspi_remove, 966 + .remove = stm32_qspi_remove, 967 967 .driver = { 968 968 .name = "stm32-qspi", 969 969 .of_match_table = stm32_qspi_match,
+1 -1
drivers/spi/spi-stm32.c
··· 2355 2355 2356 2356 static struct platform_driver stm32_spi_driver = { 2357 2357 .probe = stm32_spi_probe, 2358 - .remove_new = stm32_spi_remove, 2358 + .remove = stm32_spi_remove, 2359 2359 .driver = { 2360 2360 .name = DRIVER_NAME, 2361 2361 .pm = &stm32_spi_pm_ops,
+1 -1
drivers/spi/spi-sun4i.c
··· 535 535 536 536 static struct platform_driver sun4i_spi_driver = { 537 537 .probe = sun4i_spi_probe, 538 - .remove_new = sun4i_spi_remove, 538 + .remove = sun4i_spi_remove, 539 539 .driver = { 540 540 .name = "sun4i-spi", 541 541 .of_match_table = sun4i_spi_match,
+1 -1
drivers/spi/spi-sun6i.c
··· 810 810 811 811 static struct platform_driver sun6i_spi_driver = { 812 812 .probe = sun6i_spi_probe, 813 - .remove_new = sun6i_spi_remove, 813 + .remove = sun6i_spi_remove, 814 814 .driver = { 815 815 .name = "sun6i-spi", 816 816 .of_match_table = sun6i_spi_match,
+1 -1
drivers/spi/spi-sunplus-sp7021.c
··· 563 563 564 564 static struct platform_driver sp7021_spi_controller_driver = { 565 565 .probe = sp7021_spi_controller_probe, 566 - .remove_new = sp7021_spi_controller_remove, 566 + .remove = sp7021_spi_controller_remove, 567 567 .driver = { 568 568 .name = "sunplus,sp7021-spi-controller", 569 569 .of_match_table = sp7021_spi_controller_ids,
+1 -1
drivers/spi/spi-synquacer.c
··· 818 818 .acpi_match_table = ACPI_PTR(synquacer_hsspi_acpi_ids), 819 819 }, 820 820 .probe = synquacer_spi_probe, 821 - .remove_new = synquacer_spi_remove, 821 + .remove = synquacer_spi_remove, 822 822 }; 823 823 module_platform_driver(synquacer_spi_driver); 824 824
+1 -1
drivers/spi/spi-tegra114.c
··· 1518 1518 .of_match_table = tegra_spi_of_match, 1519 1519 }, 1520 1520 .probe = tegra_spi_probe, 1521 - .remove_new = tegra_spi_remove, 1521 + .remove = tegra_spi_remove, 1522 1522 }; 1523 1523 module_platform_driver(tegra_spi_driver); 1524 1524
+1 -1
drivers/spi/spi-tegra20-sflash.c
··· 600 600 .of_match_table = tegra_sflash_of_match, 601 601 }, 602 602 .probe = tegra_sflash_probe, 603 - .remove_new = tegra_sflash_remove, 603 + .remove = tegra_sflash_remove, 604 604 }; 605 605 module_platform_driver(tegra_sflash_driver); 606 606
+1 -1
drivers/spi/spi-tegra20-slink.c
··· 1214 1214 .of_match_table = tegra_slink_of_match, 1215 1215 }, 1216 1216 .probe = tegra_slink_probe, 1217 - .remove_new = tegra_slink_remove, 1217 + .remove = tegra_slink_remove, 1218 1218 }; 1219 1219 module_platform_driver(tegra_slink_driver); 1220 1220
+1 -1
drivers/spi/spi-tegra210-quad.c
··· 1724 1724 .acpi_match_table = ACPI_PTR(tegra_qspi_acpi_match), 1725 1725 }, 1726 1726 .probe = tegra_qspi_probe, 1727 - .remove_new = tegra_qspi_remove, 1727 + .remove = tegra_qspi_remove, 1728 1728 }; 1729 1729 module_platform_driver(tegra_qspi_driver); 1730 1730
+1 -1
drivers/spi/spi-ti-qspi.c
··· 931 931 932 932 static struct platform_driver ti_qspi_driver = { 933 933 .probe = ti_qspi_probe, 934 - .remove_new = ti_qspi_remove, 934 + .remove = ti_qspi_remove, 935 935 .driver = { 936 936 .name = "ti-qspi", 937 937 .pm = &ti_qspi_pm_ops,
+1 -1
drivers/spi/spi-topcliff-pch.c
··· 1514 1514 .name = "pch-spi", 1515 1515 }, 1516 1516 .probe = pch_spi_pd_probe, 1517 - .remove_new = pch_spi_pd_remove, 1517 + .remove = pch_spi_pd_remove, 1518 1518 .suspend = pch_spi_pd_suspend, 1519 1519 .resume = pch_spi_pd_resume 1520 1520 };
+1 -1
drivers/spi/spi-uniphier.c
··· 796 796 797 797 static struct platform_driver uniphier_spi_driver = { 798 798 .probe = uniphier_spi_probe, 799 - .remove_new = uniphier_spi_remove, 799 + .remove = uniphier_spi_remove, 800 800 .driver = { 801 801 .name = "uniphier-spi", 802 802 .of_match_table = uniphier_spi_match,
+1 -1
drivers/spi/spi-xilinx.c
··· 524 524 525 525 static struct platform_driver xilinx_spi_driver = { 526 526 .probe = xilinx_spi_probe, 527 - .remove_new = xilinx_spi_remove, 527 + .remove = xilinx_spi_remove, 528 528 .driver = { 529 529 .name = XILINX_SPI_NAME, 530 530 .of_match_table = xilinx_spi_of_match,
+1 -1
drivers/spi/spi-xtensa-xtfpga.c
··· 138 138 139 139 static struct platform_driver xtfpga_spi_driver = { 140 140 .probe = xtfpga_spi_probe, 141 - .remove_new = xtfpga_spi_remove, 141 + .remove = xtfpga_spi_remove, 142 142 .driver = { 143 143 .name = XTFPGA_SPI_NAME, 144 144 .of_match_table = of_match_ptr(xtfpga_spi_of_match),
+1 -1
drivers/spi/spi-zynq-qspi.c
··· 763 763 */ 764 764 static struct platform_driver zynq_qspi_driver = { 765 765 .probe = zynq_qspi_probe, 766 - .remove_new = zynq_qspi_remove, 766 + .remove = zynq_qspi_remove, 767 767 .driver = { 768 768 .name = "zynq-qspi", 769 769 .of_match_table = zynq_qspi_of_match,
+1 -1
drivers/spi/spi-zynqmp-gqspi.c
··· 1389 1389 1390 1390 static struct platform_driver zynqmp_qspi_driver = { 1391 1391 .probe = zynqmp_qspi_probe, 1392 - .remove_new = zynqmp_qspi_remove, 1392 + .remove = zynqmp_qspi_remove, 1393 1393 .driver = { 1394 1394 .name = "zynqmp-qspi", 1395 1395 .of_match_table = zynqmp_qspi_of_match,