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.

serial: 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/tty/serial 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/20241007205803.444994-7-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Uwe Kleine-König and committed by
Greg Kroah-Hartman
5cbb9b17 8cf0b939

+66 -66
+1 -1
drivers/tty/serial/8250/8250_aspeed_vuart.c
··· 569 569 .of_match_table = aspeed_vuart_table, 570 570 }, 571 571 .probe = aspeed_vuart_probe, 572 - .remove_new = aspeed_vuart_remove, 572 + .remove = aspeed_vuart_remove, 573 573 }; 574 574 575 575 module_platform_driver(aspeed_vuart_driver);
+1 -1
drivers/tty/serial/8250/8250_bcm2835aux.c
··· 267 267 .pm = pm_ptr(&bcm2835aux_dev_pm_ops), 268 268 }, 269 269 .probe = bcm2835aux_serial_probe, 270 - .remove_new = bcm2835aux_serial_remove, 270 + .remove = bcm2835aux_serial_remove, 271 271 }; 272 272 module_platform_driver(bcm2835aux_serial_driver); 273 273
+1 -1
drivers/tty/serial/8250/8250_bcm7271.c
··· 1204 1204 .of_match_table = brcmuart_dt_ids, 1205 1205 }, 1206 1206 .probe = brcmuart_probe, 1207 - .remove_new = brcmuart_remove, 1207 + .remove = brcmuart_remove, 1208 1208 }; 1209 1209 1210 1210 static int __init brcmuart_init(void)
+1 -1
drivers/tty/serial/8250/8250_dw.c
··· 796 796 .acpi_match_table = dw8250_acpi_match, 797 797 }, 798 798 .probe = dw8250_probe, 799 - .remove_new = dw8250_remove, 799 + .remove = dw8250_remove, 800 800 }; 801 801 802 802 module_platform_driver(dw8250_platform_driver);
+1 -1
drivers/tty/serial/8250/8250_em.c
··· 219 219 .of_match_table = serial8250_em_dt_ids, 220 220 }, 221 221 .probe = serial8250_em_probe, 222 - .remove_new = serial8250_em_remove, 222 + .remove = serial8250_em_remove, 223 223 }; 224 224 225 225 module_platform_driver(serial8250_em_platform_driver);
+1 -1
drivers/tty/serial/8250/8250_fsl.c
··· 179 179 .acpi_match_table = ACPI_PTR(fsl_8250_acpi_id), 180 180 }, 181 181 .probe = fsl8250_acpi_probe, 182 - .remove_new = fsl8250_acpi_remove, 182 + .remove = fsl8250_acpi_remove, 183 183 }; 184 184 185 185 module_platform_driver(fsl8250_platform_driver);
+1 -1
drivers/tty/serial/8250/8250_ingenic.c
··· 361 361 .of_match_table = of_match, 362 362 }, 363 363 .probe = ingenic_uart_probe, 364 - .remove_new = ingenic_uart_remove, 364 + .remove = ingenic_uart_remove, 365 365 }; 366 366 367 367 module_platform_driver(ingenic_uart_platform_driver);
+1 -1
drivers/tty/serial/8250/8250_ioc3.c
··· 84 84 85 85 static struct platform_driver serial8250_ioc3_driver = { 86 86 .probe = serial8250_ioc3_probe, 87 - .remove_new = serial8250_ioc3_remove, 87 + .remove = serial8250_ioc3_remove, 88 88 .driver = { 89 89 .name = "ioc3-serial8250", 90 90 }
+1 -1
drivers/tty/serial/8250/8250_lpc18xx.c
··· 195 195 196 196 static struct platform_driver lpc18xx_serial_driver = { 197 197 .probe = lpc18xx_serial_probe, 198 - .remove_new = lpc18xx_serial_remove, 198 + .remove = lpc18xx_serial_remove, 199 199 .driver = { 200 200 .name = "lpc18xx-uart", 201 201 .of_match_table = lpc18xx_serial_match,
+1 -1
drivers/tty/serial/8250/8250_mtk.c
··· 654 654 .of_match_table = mtk8250_of_match, 655 655 }, 656 656 .probe = mtk8250_probe, 657 - .remove_new = mtk8250_remove, 657 + .remove = mtk8250_remove, 658 658 }; 659 659 module_platform_driver(mtk8250_platform_driver); 660 660
+1 -1
drivers/tty/serial/8250/8250_of.c
··· 352 352 .pm = &of_serial_pm_ops, 353 353 }, 354 354 .probe = of_platform_serial_probe, 355 - .remove_new = of_platform_serial_remove, 355 + .remove = of_platform_serial_remove, 356 356 }; 357 357 358 358 module_platform_driver(of_platform_serial_driver);
+1 -1
drivers/tty/serial/8250/8250_omap.c
··· 1867 1867 .of_match_table = omap8250_dt_ids, 1868 1868 }, 1869 1869 .probe = omap8250_probe, 1870 - .remove_new = omap8250_remove, 1870 + .remove = omap8250_remove, 1871 1871 }; 1872 1872 module_platform_driver(omap8250_platform_driver); 1873 1873
+1 -1
drivers/tty/serial/8250/8250_platform.c
··· 285 285 286 286 static struct platform_driver serial8250_isa_driver = { 287 287 .probe = serial8250_probe, 288 - .remove_new = serial8250_remove, 288 + .remove = serial8250_remove, 289 289 .suspend = serial8250_suspend, 290 290 .resume = serial8250_resume, 291 291 .driver = {
+1 -1
drivers/tty/serial/8250/8250_pxa.c
··· 154 154 155 155 static struct platform_driver serial_pxa_driver = { 156 156 .probe = serial_pxa_probe, 157 - .remove_new = serial_pxa_remove, 157 + .remove = serial_pxa_remove, 158 158 159 159 .driver = { 160 160 .name = "pxa2xx-uart",
+1 -1
drivers/tty/serial/8250/8250_tegra.c
··· 182 182 .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), 183 183 }, 184 184 .probe = tegra_uart_probe, 185 - .remove_new = tegra_uart_remove, 185 + .remove = tegra_uart_remove, 186 186 }; 187 187 188 188 module_platform_driver(tegra_uart_driver);
+1 -1
drivers/tty/serial/8250/8250_uniphier.c
··· 282 282 283 283 static struct platform_driver uniphier_uart_platform_driver = { 284 284 .probe = uniphier_uart_probe, 285 - .remove_new = uniphier_uart_remove, 285 + .remove = uniphier_uart_remove, 286 286 .driver = { 287 287 .name = "uniphier-uart", 288 288 .of_match_table = uniphier_uart_match,
+1 -1
drivers/tty/serial/altera_jtaguart.c
··· 449 449 450 450 static struct platform_driver altera_jtaguart_platform_driver = { 451 451 .probe = altera_jtaguart_probe, 452 - .remove_new = altera_jtaguart_remove, 452 + .remove = altera_jtaguart_remove, 453 453 .driver = { 454 454 .name = DRV_NAME, 455 455 .of_match_table = of_match_ptr(altera_jtaguart_match),
+1 -1
drivers/tty/serial/altera_uart.c
··· 617 617 618 618 static struct platform_driver altera_uart_platform_driver = { 619 619 .probe = altera_uart_probe, 620 - .remove_new = altera_uart_remove, 620 + .remove = altera_uart_remove, 621 621 .driver = { 622 622 .name = DRV_NAME, 623 623 .of_match_table = of_match_ptr(altera_uart_match),
+1 -1
drivers/tty/serial/amba-pl011.c
··· 2937 2937 2938 2938 static struct platform_driver arm_sbsa_uart_platform_driver = { 2939 2939 .probe = sbsa_uart_probe, 2940 - .remove_new = sbsa_uart_remove, 2940 + .remove = sbsa_uart_remove, 2941 2941 .driver = { 2942 2942 .name = "sbsa-uart", 2943 2943 .pm = &pl011_dev_pm_ops,
+1 -1
drivers/tty/serial/ar933x_uart.c
··· 832 832 833 833 static struct platform_driver ar933x_uart_platform_driver = { 834 834 .probe = ar933x_uart_probe, 835 - .remove_new = ar933x_uart_remove, 835 + .remove = ar933x_uart_remove, 836 836 .driver = { 837 837 .name = DRIVER_NAME, 838 838 .of_match_table = of_match_ptr(ar933x_uart_of_ids),
+1 -1
drivers/tty/serial/atmel_serial.c
··· 3017 3017 3018 3018 static struct platform_driver atmel_serial_driver = { 3019 3019 .probe = atmel_serial_probe, 3020 - .remove_new = atmel_serial_remove, 3020 + .remove = atmel_serial_remove, 3021 3021 .driver = { 3022 3022 .name = "atmel_usart_serial", 3023 3023 .of_match_table = of_match_ptr(atmel_serial_dt_ids),
+1 -1
drivers/tty/serial/bcm63xx_uart.c
··· 884 884 */ 885 885 static struct platform_driver bcm_uart_platform_driver = { 886 886 .probe = bcm_uart_probe, 887 - .remove_new = bcm_uart_remove, 887 + .remove = bcm_uart_remove, 888 888 .driver = { 889 889 .name = "bcm63xx_uart", 890 890 .of_match_table = bcm63xx_of_match,
+1 -1
drivers/tty/serial/clps711x.c
··· 529 529 .of_match_table = of_match_ptr(clps711x_uart_dt_ids), 530 530 }, 531 531 .probe = uart_clps711x_probe, 532 - .remove_new = uart_clps711x_remove, 532 + .remove = uart_clps711x_remove, 533 533 }; 534 534 535 535 static int __init uart_clps711x_init(void)
+1 -1
drivers/tty/serial/cpm_uart.c
··· 1573 1573 .of_match_table = cpm_uart_match, 1574 1574 }, 1575 1575 .probe = cpm_uart_probe, 1576 - .remove_new = cpm_uart_remove, 1576 + .remove = cpm_uart_remove, 1577 1577 }; 1578 1578 1579 1579 static int __init cpm_uart_init(void)
+1 -1
drivers/tty/serial/digicolor-usart.c
··· 522 522 .of_match_table = of_match_ptr(digicolor_uart_dt_ids), 523 523 }, 524 524 .probe = digicolor_uart_probe, 525 - .remove_new = digicolor_uart_remove, 525 + .remove = digicolor_uart_remove, 526 526 }; 527 527 528 528 static int __init digicolor_uart_init(void)
+1 -1
drivers/tty/serial/esp32_acm.c
··· 423 423 424 424 static struct platform_driver esp32s3_acm_driver = { 425 425 .probe = esp32s3_acm_probe, 426 - .remove_new = esp32s3_acm_remove, 426 + .remove = esp32s3_acm_remove, 427 427 .driver = { 428 428 .name = DRIVER_NAME, 429 429 .of_match_table = esp32s3_acm_dt_ids,
+1 -1
drivers/tty/serial/esp32_uart.c
··· 743 743 744 744 static struct platform_driver esp32_uart_driver = { 745 745 .probe = esp32_uart_probe, 746 - .remove_new = esp32_uart_remove, 746 + .remove = esp32_uart_remove, 747 747 .driver = { 748 748 .name = DRIVER_NAME, 749 749 .of_match_table = esp32_uart_dt_ids,
+1 -1
drivers/tty/serial/fsl_linflexuart.c
··· 882 882 883 883 static struct platform_driver linflex_driver = { 884 884 .probe = linflex_probe, 885 - .remove_new = linflex_remove, 885 + .remove = linflex_remove, 886 886 .driver = { 887 887 .name = DRIVER_NAME, 888 888 .of_match_table = linflex_dt_ids,
+1 -1
drivers/tty/serial/fsl_lpuart.c
··· 3206 3206 3207 3207 static struct platform_driver lpuart_driver = { 3208 3208 .probe = lpuart_probe, 3209 - .remove_new = lpuart_remove, 3209 + .remove = lpuart_remove, 3210 3210 .driver = { 3211 3211 .name = "fsl-lpuart", 3212 3212 .of_match_table = lpuart_dt_ids,
+1 -1
drivers/tty/serial/imx.c
··· 2702 2702 2703 2703 static struct platform_driver imx_uart_platform_driver = { 2704 2704 .probe = imx_uart_probe, 2705 - .remove_new = imx_uart_remove, 2705 + .remove = imx_uart_remove, 2706 2706 2707 2707 .driver = { 2708 2708 .name = "imx-uart",
+1 -1
drivers/tty/serial/lantiq.c
··· 915 915 916 916 static struct platform_driver lqasc_driver = { 917 917 .probe = lqasc_probe, 918 - .remove_new = lqasc_remove, 918 + .remove = lqasc_remove, 919 919 .driver = { 920 920 .name = DRVNAME, 921 921 .of_match_table = ltq_asc_match,
+1 -1
drivers/tty/serial/liteuart.c
··· 353 353 354 354 static struct platform_driver liteuart_platform_driver = { 355 355 .probe = liteuart_probe, 356 - .remove_new = liteuart_remove, 356 + .remove = liteuart_remove, 357 357 .driver = { 358 358 .name = KBUILD_MODNAME, 359 359 .of_match_table = liteuart_of_match,
+1 -1
drivers/tty/serial/lpc32xx_hs.c
··· 695 695 696 696 static struct platform_driver serial_hs_lpc32xx_driver = { 697 697 .probe = serial_hs_lpc32xx_probe, 698 - .remove_new = serial_hs_lpc32xx_remove, 698 + .remove = serial_hs_lpc32xx_remove, 699 699 .suspend = serial_hs_lpc32xx_suspend, 700 700 .resume = serial_hs_lpc32xx_resume, 701 701 .driver = {
+1 -1
drivers/tty/serial/ma35d1_serial.c
··· 794 794 795 795 static struct platform_driver ma35d1serial_driver = { 796 796 .probe = ma35d1serial_probe, 797 - .remove_new = ma35d1serial_remove, 797 + .remove = ma35d1serial_remove, 798 798 .suspend = ma35d1serial_suspend, 799 799 .resume = ma35d1serial_resume, 800 800 .driver = {
+1 -1
drivers/tty/serial/mcf.c
··· 616 616 617 617 static struct platform_driver mcf_platform_driver = { 618 618 .probe = mcf_probe, 619 - .remove_new = mcf_remove, 619 + .remove = mcf_remove, 620 620 .driver = { 621 621 .name = "mcfuart", 622 622 },
+1 -1
drivers/tty/serial/meson_uart.c
··· 842 842 843 843 static struct platform_driver meson_uart_platform_driver = { 844 844 .probe = meson_uart_probe, 845 - .remove_new = meson_uart_remove, 845 + .remove = meson_uart_remove, 846 846 .driver = { 847 847 .name = "meson_uart", 848 848 .of_match_table = meson_uart_dt_match,
+1 -1
drivers/tty/serial/milbeaut_usio.c
··· 570 570 571 571 static struct platform_driver mlb_usio_driver = { 572 572 .probe = mlb_usio_probe, 573 - .remove_new = mlb_usio_remove, 573 + .remove = mlb_usio_remove, 574 574 .driver = { 575 575 .name = USIO_NAME, 576 576 .of_match_table = mlb_usio_dt_ids,
+1 -1
drivers/tty/serial/mpc52xx_uart.c
··· 1843 1843 1844 1844 static struct platform_driver mpc52xx_uart_of_driver = { 1845 1845 .probe = mpc52xx_uart_of_probe, 1846 - .remove_new = mpc52xx_uart_of_remove, 1846 + .remove = mpc52xx_uart_of_remove, 1847 1847 #ifdef CONFIG_PM 1848 1848 .suspend = mpc52xx_uart_of_suspend, 1849 1849 .resume = mpc52xx_uart_of_resume,
+1 -1
drivers/tty/serial/msm_serial.c
··· 1894 1894 }; 1895 1895 1896 1896 static struct platform_driver msm_platform_driver = { 1897 - .remove_new = msm_serial_remove, 1897 + .remove = msm_serial_remove, 1898 1898 .probe = msm_serial_probe, 1899 1899 .driver = { 1900 1900 .name = "msm_serial",
+1 -1
drivers/tty/serial/mxs-auart.c
··· 1704 1704 1705 1705 static struct platform_driver mxs_auart_driver = { 1706 1706 .probe = mxs_auart_probe, 1707 - .remove_new = mxs_auart_remove, 1707 + .remove = mxs_auart_remove, 1708 1708 .driver = { 1709 1709 .name = "mxs-auart", 1710 1710 .of_match_table = mxs_auart_dt_ids,
+1 -1
drivers/tty/serial/omap-serial.c
··· 1802 1802 1803 1803 static struct platform_driver serial_omap_driver = { 1804 1804 .probe = serial_omap_probe, 1805 - .remove_new = serial_omap_remove, 1805 + .remove = serial_omap_remove, 1806 1806 .driver = { 1807 1807 .name = OMAP_SERIAL_DRIVER_NAME, 1808 1808 .pm = &serial_omap_dev_pm_ops,
+1 -1
drivers/tty/serial/owl-uart.c
··· 730 730 731 731 static struct platform_driver owl_uart_platform_driver = { 732 732 .probe = owl_uart_probe, 733 - .remove_new = owl_uart_remove, 733 + .remove = owl_uart_remove, 734 734 .driver = { 735 735 .name = "owl-uart", 736 736 .of_match_table = owl_uart_dt_matches,
+1 -1
drivers/tty/serial/pic32_uart.c
··· 956 956 957 957 static struct platform_driver pic32_uart_platform_driver = { 958 958 .probe = pic32_uart_probe, 959 - .remove_new = pic32_uart_remove, 959 + .remove = pic32_uart_remove, 960 960 .driver = { 961 961 .name = PIC32_DEV_NAME, 962 962 .of_match_table = of_match_ptr(pic32_serial_dt_ids),
+1 -1
drivers/tty/serial/pmac_zilog.c
··· 1776 1776 1777 1777 static struct platform_driver pmz_driver = { 1778 1778 .probe = pmz_attach, 1779 - .remove_new = pmz_detach, 1779 + .remove = pmz_detach, 1780 1780 .driver = { 1781 1781 .name = "scc", 1782 1782 },
+1 -1
drivers/tty/serial/qcom_geni_serial.c
··· 1846 1846 MODULE_DEVICE_TABLE(of, qcom_geni_serial_match_table); 1847 1847 1848 1848 static struct platform_driver qcom_geni_serial_platform_driver = { 1849 - .remove_new = qcom_geni_serial_remove, 1849 + .remove = qcom_geni_serial_remove, 1850 1850 .probe = qcom_geni_serial_probe, 1851 1851 .driver = { 1852 1852 .name = "qcom_geni_serial",
+1 -1
drivers/tty/serial/rda-uart.c
··· 777 777 778 778 static struct platform_driver rda_uart_platform_driver = { 779 779 .probe = rda_uart_probe, 780 - .remove_new = rda_uart_remove, 780 + .remove = rda_uart_remove, 781 781 .driver = { 782 782 .name = "rda-uart", 783 783 .of_match_table = rda_uart_dt_matches,
+1 -1
drivers/tty/serial/sa1100.c
··· 880 880 881 881 static struct platform_driver sa11x0_serial_driver = { 882 882 .probe = sa1100_serial_probe, 883 - .remove_new = sa1100_serial_remove, 883 + .remove = sa1100_serial_remove, 884 884 .suspend = sa1100_serial_suspend, 885 885 .resume = sa1100_serial_resume, 886 886 .driver = {
+1 -1
drivers/tty/serial/samsung_tty.c
··· 2653 2653 2654 2654 static struct platform_driver samsung_serial_driver = { 2655 2655 .probe = s3c24xx_serial_probe, 2656 - .remove_new = s3c24xx_serial_remove, 2656 + .remove = s3c24xx_serial_remove, 2657 2657 .id_table = s3c24xx_serial_driver_ids, 2658 2658 .driver = { 2659 2659 .name = "samsung-uart",
+1 -1
drivers/tty/serial/sccnxp.c
··· 1052 1052 .name = SCCNXP_NAME, 1053 1053 }, 1054 1054 .probe = sccnxp_probe, 1055 - .remove_new = sccnxp_remove, 1055 + .remove = sccnxp_remove, 1056 1056 .id_table = sccnxp_id_table, 1057 1057 }; 1058 1058 module_platform_driver(sccnxp_uart_driver);
+1 -1
drivers/tty/serial/serial-tegra.c
··· 1648 1648 1649 1649 static struct platform_driver tegra_uart_platform_driver = { 1650 1650 .probe = tegra_uart_probe, 1651 - .remove_new = tegra_uart_remove, 1651 + .remove = tegra_uart_remove, 1652 1652 .driver = { 1653 1653 .name = "serial-tegra", 1654 1654 .of_match_table = tegra_uart_of_match,
+1 -1
drivers/tty/serial/serial_txx9.c
··· 1097 1097 1098 1098 static struct platform_driver serial_txx9_plat_driver = { 1099 1099 .probe = serial_txx9_probe, 1100 - .remove_new = serial_txx9_remove, 1100 + .remove = serial_txx9_remove, 1101 1101 #ifdef CONFIG_PM 1102 1102 .suspend = serial_txx9_suspend, 1103 1103 .resume = serial_txx9_resume,
+1 -1
drivers/tty/serial/sh-sci.c
··· 3505 3505 3506 3506 static struct platform_driver sci_driver = { 3507 3507 .probe = sci_probe, 3508 - .remove_new = sci_remove, 3508 + .remove = sci_remove, 3509 3509 .driver = { 3510 3510 .name = "sh-sci", 3511 3511 .pm = &sci_dev_pm_ops,
+1 -1
drivers/tty/serial/sifive.c
··· 1040 1040 1041 1041 static struct platform_driver sifive_serial_platform_driver = { 1042 1042 .probe = sifive_serial_probe, 1043 - .remove_new = sifive_serial_remove, 1043 + .remove = sifive_serial_remove, 1044 1044 .driver = { 1045 1045 .name = SIFIVE_SERIAL_NAME, 1046 1046 .pm = pm_sleep_ptr(&sifive_uart_pm_ops),
+1 -1
drivers/tty/serial/sprd_serial.c
··· 1255 1255 1256 1256 static struct platform_driver sprd_platform_driver = { 1257 1257 .probe = sprd_probe, 1258 - .remove_new = sprd_remove, 1258 + .remove = sprd_remove, 1259 1259 .driver = { 1260 1260 .name = "sprd_serial", 1261 1261 .of_match_table = serial_ids,
+1 -1
drivers/tty/serial/st-asc.c
··· 934 934 935 935 static struct platform_driver asc_serial_driver = { 936 936 .probe = asc_serial_probe, 937 - .remove_new = asc_serial_remove, 937 + .remove = asc_serial_remove, 938 938 .driver = { 939 939 .name = DRIVER_NAME, 940 940 .pm = pm_sleep_ptr(&asc_serial_pm_ops),
+1 -1
drivers/tty/serial/stm32-usart.c
··· 2188 2188 2189 2189 static struct platform_driver stm32_serial_driver = { 2190 2190 .probe = stm32_usart_serial_probe, 2191 - .remove_new = stm32_usart_serial_remove, 2191 + .remove = stm32_usart_serial_remove, 2192 2192 .driver = { 2193 2193 .name = DRIVER_NAME, 2194 2194 .pm = &stm32_serial_pm_ops,
+1 -1
drivers/tty/serial/sunhv.c
··· 633 633 .of_match_table = hv_match, 634 634 }, 635 635 .probe = hv_probe, 636 - .remove_new = hv_remove, 636 + .remove = hv_remove, 637 637 }; 638 638 639 639 static int __init sunhv_init(void)
+1 -1
drivers/tty/serial/sunplus-uart.c
··· 697 697 698 698 static struct platform_driver sunplus_uart_platform_driver = { 699 699 .probe = sunplus_uart_probe, 700 - .remove_new = sunplus_uart_remove, 700 + .remove = sunplus_uart_remove, 701 701 .driver = { 702 702 .name = "sunplus_uart", 703 703 .of_match_table = sp_uart_of_match,
+1 -1
drivers/tty/serial/sunsab.c
··· 1100 1100 .of_match_table = sab_match, 1101 1101 }, 1102 1102 .probe = sab_probe, 1103 - .remove_new = sab_remove, 1103 + .remove = sab_remove, 1104 1104 }; 1105 1105 1106 1106 static int __init sunsab_init(void)
+1 -1
drivers/tty/serial/sunsu.c
··· 1549 1549 .of_match_table = su_match, 1550 1550 }, 1551 1551 .probe = su_probe, 1552 - .remove_new = su_remove, 1552 + .remove = su_remove, 1553 1553 }; 1554 1554 1555 1555 static int __init sunsu_init(void)
+1 -1
drivers/tty/serial/sunzilog.c
··· 1538 1538 .of_match_table = zs_match, 1539 1539 }, 1540 1540 .probe = zs_probe, 1541 - .remove_new = zs_remove, 1541 + .remove = zs_remove, 1542 1542 }; 1543 1543 1544 1544 static int __init sunzilog_init(void)
+1 -1
drivers/tty/serial/tegra-tcu.c
··· 293 293 .of_match_table = tegra_tcu_match, 294 294 }, 295 295 .probe = tegra_tcu_probe, 296 - .remove_new = tegra_tcu_remove, 296 + .remove = tegra_tcu_remove, 297 297 }; 298 298 module_platform_driver(tegra_tcu_driver); 299 299
+1 -1
drivers/tty/serial/timbuart.c
··· 485 485 .name = "timb-uart", 486 486 }, 487 487 .probe = timbuart_probe, 488 - .remove_new = timbuart_remove, 488 + .remove = timbuart_remove, 489 489 }; 490 490 491 491 module_platform_driver(timbuart_platform_driver);
+1 -1
drivers/tty/serial/uartlite.c
··· 915 915 916 916 static struct platform_driver ulite_platform_driver = { 917 917 .probe = ulite_probe, 918 - .remove_new = ulite_remove, 918 + .remove = ulite_remove, 919 919 .driver = { 920 920 .name = "uartlite", 921 921 .of_match_table = of_match_ptr(ulite_of_match),
+1 -1
drivers/tty/serial/ucc_uart.c
··· 1484 1484 .of_match_table = ucc_uart_match, 1485 1485 }, 1486 1486 .probe = ucc_uart_probe, 1487 - .remove_new = ucc_uart_remove, 1487 + .remove = ucc_uart_remove, 1488 1488 }; 1489 1489 1490 1490 static int __init ucc_uart_init(void)
+1 -1
drivers/tty/serial/xilinx_uartps.c
··· 1903 1903 1904 1904 static struct platform_driver cdns_uart_platform_driver = { 1905 1905 .probe = cdns_uart_probe, 1906 - .remove_new = cdns_uart_remove, 1906 + .remove = cdns_uart_remove, 1907 1907 .driver = { 1908 1908 .name = CDNS_UART_NAME, 1909 1909 .of_match_table = cdns_uart_of_match,