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

i2c: 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/i2c 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>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>

authored by

Uwe Kleine-König and committed by
Andi Shyti
32a0a94a 506bb2ab

+88 -88
+1 -1
drivers/i2c/busses/i2c-altera.c
··· 482 482 483 483 static struct platform_driver altr_i2c_driver = { 484 484 .probe = altr_i2c_probe, 485 - .remove_new = altr_i2c_remove, 485 + .remove = altr_i2c_remove, 486 486 .driver = { 487 487 .name = "altera-i2c", 488 488 .of_match_table = altr_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-amd-mp2-plat.c
··· 346 346 347 347 static struct platform_driver i2c_amd_plat_driver = { 348 348 .probe = i2c_amd_probe, 349 - .remove_new = i2c_amd_remove, 349 + .remove = i2c_amd_remove, 350 350 .driver = { 351 351 .name = "i2c_amd_mp2", 352 352 .acpi_match_table = ACPI_PTR(i2c_amd_acpi_match),
+1 -1
drivers/i2c/busses/i2c-aspeed.c
··· 1102 1102 1103 1103 static struct platform_driver aspeed_i2c_bus_driver = { 1104 1104 .probe = aspeed_i2c_probe_bus, 1105 - .remove_new = aspeed_i2c_remove_bus, 1105 + .remove = aspeed_i2c_remove_bus, 1106 1106 .driver = { 1107 1107 .name = "aspeed-i2c-bus", 1108 1108 .of_match_table = aspeed_i2c_bus_of_table,
+1 -1
drivers/i2c/busses/i2c-at91-core.c
··· 330 330 331 331 static struct platform_driver at91_twi_driver = { 332 332 .probe = at91_twi_probe, 333 - .remove_new = at91_twi_remove, 333 + .remove = at91_twi_remove, 334 334 .id_table = at91_twi_devtypes, 335 335 .driver = { 336 336 .name = "at91_i2c",
+1 -1
drivers/i2c/busses/i2c-au1550.c
··· 368 368 .pm = pm_sleep_ptr(&i2c_au1550_pmops), 369 369 }, 370 370 .probe = i2c_au1550_probe, 371 - .remove_new = i2c_au1550_remove, 371 + .remove = i2c_au1550_remove, 372 372 }; 373 373 374 374 module_platform_driver(au1xpsc_smbus_driver);
+1 -1
drivers/i2c/busses/i2c-axxia.c
··· 824 824 825 825 static struct platform_driver axxia_i2c_driver = { 826 826 .probe = axxia_i2c_probe, 827 - .remove_new = axxia_i2c_remove, 827 + .remove = axxia_i2c_remove, 828 828 .driver = { 829 829 .name = "axxia-i2c", 830 830 .of_match_table = axxia_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-bcm-iproc.c
··· 1264 1264 .pm = pm_sleep_ptr(&bcm_iproc_i2c_pm_ops), 1265 1265 }, 1266 1266 .probe = bcm_iproc_i2c_probe, 1267 - .remove_new = bcm_iproc_i2c_remove, 1267 + .remove = bcm_iproc_i2c_remove, 1268 1268 }; 1269 1269 module_platform_driver(bcm_iproc_i2c_driver); 1270 1270
+1 -1
drivers/i2c/busses/i2c-bcm-kona.c
··· 877 877 .of_match_table = bcm_kona_i2c_of_match, 878 878 }, 879 879 .probe = bcm_kona_i2c_probe, 880 - .remove_new = bcm_kona_i2c_remove, 880 + .remove = bcm_kona_i2c_remove, 881 881 }; 882 882 module_platform_driver(bcm_kona_i2c_driver); 883 883
+1 -1
drivers/i2c/busses/i2c-bcm2835.c
··· 520 520 521 521 static struct platform_driver bcm2835_i2c_driver = { 522 522 .probe = bcm2835_i2c_probe, 523 - .remove_new = bcm2835_i2c_remove, 523 + .remove = bcm2835_i2c_remove, 524 524 .driver = { 525 525 .name = "i2c-bcm2835", 526 526 .of_match_table = bcm2835_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-brcmstb.c
··· 744 744 .pm = pm_sleep_ptr(&brcmstb_i2c_pm), 745 745 }, 746 746 .probe = brcmstb_i2c_probe, 747 - .remove_new = brcmstb_i2c_remove, 747 + .remove = brcmstb_i2c_remove, 748 748 }; 749 749 module_platform_driver(brcmstb_i2c_driver); 750 750
+1 -1
drivers/i2c/busses/i2c-cadence.c
··· 1652 1652 .pm = &cdns_i2c_dev_pm_ops, 1653 1653 }, 1654 1654 .probe = cdns_i2c_probe, 1655 - .remove_new = cdns_i2c_remove, 1655 + .remove = cdns_i2c_remove, 1656 1656 }; 1657 1657 1658 1658 module_platform_driver(cdns_i2c_drv);
+1 -1
drivers/i2c/busses/i2c-cbus-gpio.c
··· 264 264 265 265 static struct platform_driver cbus_i2c_driver = { 266 266 .probe = cbus_i2c_probe, 267 - .remove_new = cbus_i2c_remove, 267 + .remove = cbus_i2c_remove, 268 268 .driver = { 269 269 .name = "i2c-cbus-gpio", 270 270 .of_match_table = of_match_ptr(i2c_cbus_dt_ids),
+1 -1
drivers/i2c/busses/i2c-cht-wc.c
··· 546 546 547 547 static struct platform_driver cht_wc_i2c_adap_driver = { 548 548 .probe = cht_wc_i2c_adap_i2c_probe, 549 - .remove_new = cht_wc_i2c_adap_i2c_remove, 549 + .remove = cht_wc_i2c_adap_i2c_remove, 550 550 .driver = { 551 551 .name = "cht_wcove_ext_chgr", 552 552 },
+1 -1
drivers/i2c/busses/i2c-cpm.c
··· 701 701 702 702 static struct platform_driver cpm_i2c_driver = { 703 703 .probe = cpm_i2c_probe, 704 - .remove_new = cpm_i2c_remove, 704 + .remove = cpm_i2c_remove, 705 705 .driver = { 706 706 .name = "fsl-i2c-cpm", 707 707 .of_match_table = cpm_i2c_match,
+1 -1
drivers/i2c/busses/i2c-cros-ec-tunnel.c
··· 304 304 305 305 static struct platform_driver ec_i2c_tunnel_driver = { 306 306 .probe = ec_i2c_probe, 307 - .remove_new = ec_i2c_remove, 307 + .remove = ec_i2c_remove, 308 308 .driver = { 309 309 .name = "cros-ec-i2c-tunnel", 310 310 .acpi_match_table = ACPI_PTR(cros_ec_i2c_tunnel_acpi_id),
+1 -1
drivers/i2c/busses/i2c-davinci.c
··· 935 935 936 936 static struct platform_driver davinci_i2c_driver = { 937 937 .probe = davinci_i2c_probe, 938 - .remove_new = davinci_i2c_remove, 938 + .remove = davinci_i2c_remove, 939 939 .id_table = davinci_i2c_driver_ids, 940 940 .driver = { 941 941 .name = "i2c_davinci",
+1 -1
drivers/i2c/busses/i2c-designware-platdrv.c
··· 370 370 371 371 static struct platform_driver dw_i2c_driver = { 372 372 .probe = dw_i2c_plat_probe, 373 - .remove_new = dw_i2c_plat_remove, 373 + .remove = dw_i2c_plat_remove, 374 374 .driver = { 375 375 .name = "i2c_designware", 376 376 .of_match_table = dw_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-digicolor.c
··· 363 363 364 364 static struct platform_driver dc_i2c_driver = { 365 365 .probe = dc_i2c_probe, 366 - .remove_new = dc_i2c_remove, 366 + .remove = dc_i2c_remove, 367 367 .driver = { 368 368 .name = "digicolor-i2c", 369 369 .of_match_table = dc_i2c_match,
+1 -1
drivers/i2c/busses/i2c-dln2.c
··· 245 245 static struct platform_driver dln2_i2c_driver = { 246 246 .driver.name = "dln2-i2c", 247 247 .probe = dln2_i2c_probe, 248 - .remove_new = dln2_i2c_remove, 248 + .remove = dln2_i2c_remove, 249 249 }; 250 250 251 251 module_platform_driver(dln2_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-emev2.c
··· 425 425 426 426 static struct platform_driver em_i2c_driver = { 427 427 .probe = em_i2c_probe, 428 - .remove_new = em_i2c_remove, 428 + .remove = em_i2c_remove, 429 429 .driver = { 430 430 .name = "em-i2c", 431 431 .of_match_table = em_i2c_ids,
+1 -1
drivers/i2c/busses/i2c-exynos5.c
··· 1009 1009 1010 1010 static struct platform_driver exynos5_i2c_driver = { 1011 1011 .probe = exynos5_i2c_probe, 1012 - .remove_new = exynos5_i2c_remove, 1012 + .remove = exynos5_i2c_remove, 1013 1013 .driver = { 1014 1014 .name = "exynos5-hsi2c", 1015 1015 .pm = pm_sleep_ptr(&exynos5_i2c_dev_pm_ops),
+1 -1
drivers/i2c/busses/i2c-gpio.c
··· 481 481 .acpi_match_table = i2c_gpio_acpi_match, 482 482 }, 483 483 .probe = i2c_gpio_probe, 484 - .remove_new = i2c_gpio_remove, 484 + .remove = i2c_gpio_remove, 485 485 }; 486 486 487 487 static int __init i2c_gpio_init(void)
+1 -1
drivers/i2c/busses/i2c-gxp.c
··· 595 595 596 596 static struct platform_driver gxp_i2c_driver = { 597 597 .probe = gxp_i2c_probe, 598 - .remove_new = gxp_i2c_remove, 598 + .remove = gxp_i2c_remove, 599 599 .driver = { 600 600 .name = "gxp-i2c", 601 601 .of_match_table = gxp_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-highlander.c
··· 454 454 }, 455 455 456 456 .probe = highlander_i2c_probe, 457 - .remove_new = highlander_i2c_remove, 457 + .remove = highlander_i2c_remove, 458 458 }; 459 459 460 460 module_platform_driver(highlander_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-hix5hd2.c
··· 508 508 509 509 static struct platform_driver hix5hd2_i2c_driver = { 510 510 .probe = hix5hd2_i2c_probe, 511 - .remove_new = hix5hd2_i2c_remove, 511 + .remove = hix5hd2_i2c_remove, 512 512 .driver = { 513 513 .name = "hix5hd2-i2c", 514 514 .pm = pm_ptr(&hix5hd2_i2c_pm_ops),
+1 -1
drivers/i2c/busses/i2c-ibm_iic.c
··· 790 790 .of_match_table = ibm_iic_match, 791 791 }, 792 792 .probe = iic_probe, 793 - .remove_new = iic_remove, 793 + .remove = iic_remove, 794 794 }; 795 795 796 796 module_platform_driver(ibm_iic_driver);
+1 -1
drivers/i2c/busses/i2c-img-scb.c
··· 1497 1497 .pm = pm_ptr(&img_i2c_pm), 1498 1498 }, 1499 1499 .probe = img_i2c_probe, 1500 - .remove_new = img_i2c_remove, 1500 + .remove = img_i2c_remove, 1501 1501 }; 1502 1502 module_platform_driver(img_scb_i2c_driver); 1503 1503
+1 -1
drivers/i2c/busses/i2c-imx-lpi2c.c
··· 703 703 704 704 static struct platform_driver lpi2c_imx_driver = { 705 705 .probe = lpi2c_imx_probe, 706 - .remove_new = lpi2c_imx_remove, 706 + .remove = lpi2c_imx_remove, 707 707 .driver = { 708 708 .name = DRIVER_NAME, 709 709 .of_match_table = lpi2c_imx_of_match,
+1 -1
drivers/i2c/busses/i2c-imx.c
··· 1576 1576 1577 1577 static struct platform_driver i2c_imx_driver = { 1578 1578 .probe = i2c_imx_probe, 1579 - .remove_new = i2c_imx_remove, 1579 + .remove = i2c_imx_remove, 1580 1580 .driver = { 1581 1581 .name = DRIVER_NAME, 1582 1582 .pm = pm_ptr(&i2c_imx_pm_ops),
+1 -1
drivers/i2c/busses/i2c-iop3xx.c
··· 524 524 525 525 static struct platform_driver iop3xx_i2c_driver = { 526 526 .probe = iop3xx_i2c_probe, 527 - .remove_new = iop3xx_i2c_remove, 527 + .remove = iop3xx_i2c_remove, 528 528 .driver = { 529 529 .name = "IOP3xx-I2C", 530 530 .of_match_table = i2c_iop3xx_match,
+1 -1
drivers/i2c/busses/i2c-jz4780.c
··· 847 847 848 848 static struct platform_driver jz4780_i2c_driver = { 849 849 .probe = jz4780_i2c_probe, 850 - .remove_new = jz4780_i2c_remove, 850 + .remove = jz4780_i2c_remove, 851 851 .driver = { 852 852 .name = "jz4780-i2c", 853 853 .of_match_table = jz4780_i2c_of_matches,
+1 -1
drivers/i2c/busses/i2c-kempld.c
··· 385 385 .pm = pm_sleep_ptr(&kempld_i2c_pm_ops), 386 386 }, 387 387 .probe = kempld_i2c_probe, 388 - .remove_new = kempld_i2c_remove, 388 + .remove = kempld_i2c_remove, 389 389 }; 390 390 391 391 module_platform_driver(kempld_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-lpc2k.c
··· 462 462 463 463 static struct platform_driver i2c_lpc2k_driver = { 464 464 .probe = i2c_lpc2k_probe, 465 - .remove_new = i2c_lpc2k_remove, 465 + .remove = i2c_lpc2k_remove, 466 466 .driver = { 467 467 .name = "lpc2k-i2c", 468 468 .pm = pm_sleep_ptr(&i2c_lpc2k_dev_pm_ops),
+1 -1
drivers/i2c/busses/i2c-meson.c
··· 565 565 566 566 static struct platform_driver meson_i2c_driver = { 567 567 .probe = meson_i2c_probe, 568 - .remove_new = meson_i2c_remove, 568 + .remove = meson_i2c_remove, 569 569 .driver = { 570 570 .name = "meson-i2c", 571 571 .of_match_table = meson_i2c_match,
+1 -1
drivers/i2c/busses/i2c-microchip-corei2c.c
··· 462 462 463 463 static struct platform_driver mchp_corei2c_driver = { 464 464 .probe = mchp_corei2c_probe, 465 - .remove_new = mchp_corei2c_remove, 465 + .remove = mchp_corei2c_remove, 466 466 .driver = { 467 467 .name = "microchip-corei2c", 468 468 .of_match_table = mchp_corei2c_of_match,
+1 -1
drivers/i2c/busses/i2c-mlxbf.c
··· 2456 2456 2457 2457 static struct platform_driver mlxbf_i2c_driver = { 2458 2458 .probe = mlxbf_i2c_probe, 2459 - .remove_new = mlxbf_i2c_remove, 2459 + .remove = mlxbf_i2c_remove, 2460 2460 .driver = { 2461 2461 .name = "i2c-mlxbf", 2462 2462 .acpi_match_table = ACPI_PTR(mlxbf_i2c_acpi_ids),
+1 -1
drivers/i2c/busses/i2c-mlxcpld.c
··· 591 591 592 592 static struct platform_driver mlxcpld_i2c_driver = { 593 593 .probe = mlxcpld_i2c_probe, 594 - .remove_new = mlxcpld_i2c_remove, 594 + .remove = mlxcpld_i2c_remove, 595 595 .driver = { 596 596 .name = MLXCPLD_I2C_DEVICE_NAME, 597 597 },
+1 -1
drivers/i2c/busses/i2c-mpc.c
··· 938 938 /* Structure for a device driver */ 939 939 static struct platform_driver mpc_i2c_driver = { 940 940 .probe = fsl_i2c_probe, 941 - .remove_new = fsl_i2c_remove, 941 + .remove = fsl_i2c_remove, 942 942 .driver = { 943 943 .name = "mpc-i2c", 944 944 .of_match_table = mpc_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-mt65xx.c
··· 1550 1550 1551 1551 static struct platform_driver mtk_i2c_driver = { 1552 1552 .probe = mtk_i2c_probe, 1553 - .remove_new = mtk_i2c_remove, 1553 + .remove = mtk_i2c_remove, 1554 1554 .driver = { 1555 1555 .name = I2C_DRV_NAME, 1556 1556 .pm = pm_sleep_ptr(&mtk_i2c_pm),
+1 -1
drivers/i2c/busses/i2c-mt7621.c
··· 331 331 332 332 static struct platform_driver mtk_i2c_driver = { 333 333 .probe = mtk_i2c_probe, 334 - .remove_new = mtk_i2c_remove, 334 + .remove = mtk_i2c_remove, 335 335 .driver = { 336 336 .name = "i2c-mt7621", 337 337 .of_match_table = i2c_mtk_dt_ids,
+1 -1
drivers/i2c/busses/i2c-mv64xxx.c
··· 1104 1104 1105 1105 static struct platform_driver mv64xxx_i2c_driver = { 1106 1106 .probe = mv64xxx_i2c_probe, 1107 - .remove_new = mv64xxx_i2c_remove, 1107 + .remove = mv64xxx_i2c_remove, 1108 1108 .driver = { 1109 1109 .name = MV64XXX_I2C_CTLR_NAME, 1110 1110 .pm = &mv64xxx_i2c_pm_ops,
+1 -1
drivers/i2c/busses/i2c-mxs.c
··· 881 881 .of_match_table = mxs_i2c_dt_ids, 882 882 }, 883 883 .probe = mxs_i2c_probe, 884 - .remove_new = mxs_i2c_remove, 884 + .remove = mxs_i2c_remove, 885 885 }; 886 886 887 887 static int __init mxs_i2c_init(void)
+1 -1
drivers/i2c/busses/i2c-npcm7xx.c
··· 2373 2373 2374 2374 static struct platform_driver npcm_i2c_bus_driver = { 2375 2375 .probe = npcm_i2c_probe_bus, 2376 - .remove_new = npcm_i2c_remove_bus, 2376 + .remove = npcm_i2c_remove_bus, 2377 2377 .driver = { 2378 2378 .name = "nuvoton-i2c", 2379 2379 .of_match_table = npcm_i2c_bus_of_table,
+1 -1
drivers/i2c/busses/i2c-ocores.c
··· 769 769 770 770 static struct platform_driver ocores_i2c_driver = { 771 771 .probe = ocores_i2c_probe, 772 - .remove_new = ocores_i2c_remove, 772 + .remove = ocores_i2c_remove, 773 773 .driver = { 774 774 .name = "ocores-i2c", 775 775 .of_match_table = ocores_i2c_match,
+1 -1
drivers/i2c/busses/i2c-octeon-platdrv.c
··· 269 269 270 270 static struct platform_driver octeon_i2c_driver = { 271 271 .probe = octeon_i2c_probe, 272 - .remove_new = octeon_i2c_remove, 272 + .remove = octeon_i2c_remove, 273 273 .driver = { 274 274 .name = DRV_NAME, 275 275 .of_match_table = octeon_i2c_match,
+1 -1
drivers/i2c/busses/i2c-omap.c
··· 1605 1605 1606 1606 static struct platform_driver omap_i2c_driver = { 1607 1607 .probe = omap_i2c_probe, 1608 - .remove_new = omap_i2c_remove, 1608 + .remove = omap_i2c_remove, 1609 1609 .driver = { 1610 1610 .name = "omap_i2c", 1611 1611 .pm = pm_ptr(&omap_i2c_pm_ops),
+1 -1
drivers/i2c/busses/i2c-opal.c
··· 249 249 250 250 static struct platform_driver i2c_opal_driver = { 251 251 .probe = i2c_opal_probe, 252 - .remove_new = i2c_opal_remove, 252 + .remove = i2c_opal_remove, 253 253 .driver = { 254 254 .name = "i2c-opal", 255 255 .of_match_table = i2c_opal_of_match,
+1 -1
drivers/i2c/busses/i2c-pasemi-platform.c
··· 104 104 .of_match_table = pasemi_platform_i2c_of_match, 105 105 }, 106 106 .probe = pasemi_platform_i2c_probe, 107 - .remove_new = pasemi_platform_i2c_remove, 107 + .remove = pasemi_platform_i2c_remove, 108 108 }; 109 109 module_platform_driver(pasemi_platform_i2c_driver); 110 110
+1 -1
drivers/i2c/busses/i2c-pca-platform.c
··· 238 238 239 239 static struct platform_driver i2c_pca_pf_driver = { 240 240 .probe = i2c_pca_pf_probe, 241 - .remove_new = i2c_pca_pf_remove, 241 + .remove = i2c_pca_pf_remove, 242 242 .driver = { 243 243 .name = "i2c-pca-platform", 244 244 .of_match_table = of_match_ptr(i2c_pca_of_match_table),
+1 -1
drivers/i2c/busses/i2c-pnx.c
··· 733 733 .pm = pm_sleep_ptr(&i2c_pnx_pm), 734 734 }, 735 735 .probe = i2c_pnx_probe, 736 - .remove_new = i2c_pnx_remove, 736 + .remove = i2c_pnx_remove, 737 737 }; 738 738 739 739 static int __init i2c_adap_pnx_init(void)
+1 -1
drivers/i2c/busses/i2c-powermac.c
··· 437 437 438 438 static struct platform_driver i2c_powermac_driver = { 439 439 .probe = i2c_powermac_probe, 440 - .remove_new = i2c_powermac_remove, 440 + .remove = i2c_powermac_remove, 441 441 .driver = { 442 442 .name = "i2c-powermac", 443 443 .bus = &platform_bus_type,
+1 -1
drivers/i2c/busses/i2c-pxa.c
··· 1574 1574 1575 1575 static struct platform_driver i2c_pxa_driver = { 1576 1576 .probe = i2c_pxa_probe, 1577 - .remove_new = i2c_pxa_remove, 1577 + .remove = i2c_pxa_remove, 1578 1578 .driver = { 1579 1579 .name = "pxa2xx-i2c", 1580 1580 .pm = pm_sleep_ptr(&i2c_pxa_dev_pm_ops),
+1 -1
drivers/i2c/busses/i2c-qcom-cci.c
··· 818 818 819 819 static struct platform_driver qcom_cci_driver = { 820 820 .probe = cci_probe, 821 - .remove_new = cci_remove, 821 + .remove = cci_remove, 822 822 .driver = { 823 823 .name = "i2c-qcom-cci", 824 824 .of_match_table = cci_dt_match,
+1 -1
drivers/i2c/busses/i2c-qcom-geni.c
··· 1064 1064 1065 1065 static struct platform_driver geni_i2c_driver = { 1066 1066 .probe = geni_i2c_probe, 1067 - .remove_new = geni_i2c_remove, 1067 + .remove = geni_i2c_remove, 1068 1068 .shutdown = geni_i2c_shutdown, 1069 1069 .driver = { 1070 1070 .name = "geni_i2c",
+1 -1
drivers/i2c/busses/i2c-qup.c
··· 1974 1974 1975 1975 static struct platform_driver qup_i2c_driver = { 1976 1976 .probe = qup_i2c_probe, 1977 - .remove_new = qup_i2c_remove, 1977 + .remove = qup_i2c_remove, 1978 1978 .driver = { 1979 1979 .name = "i2c_qup", 1980 1980 .pm = pm_ptr(&qup_i2c_qup_pm_ops),
+1 -1
drivers/i2c/busses/i2c-rcar.c
··· 1271 1271 .pm = pm_sleep_ptr(&rcar_i2c_pm_ops), 1272 1272 }, 1273 1273 .probe = rcar_i2c_probe, 1274 - .remove_new = rcar_i2c_remove, 1274 + .remove = rcar_i2c_remove, 1275 1275 }; 1276 1276 1277 1277 module_platform_driver(rcar_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-riic.c
··· 632 632 633 633 static struct platform_driver riic_i2c_driver = { 634 634 .probe = riic_i2c_probe, 635 - .remove_new = riic_i2c_remove, 635 + .remove = riic_i2c_remove, 636 636 .driver = { 637 637 .name = "i2c-riic", 638 638 .of_match_table = riic_i2c_dt_ids,
+1 -1
drivers/i2c/busses/i2c-rk3x.c
··· 1398 1398 1399 1399 static struct platform_driver rk3x_i2c_driver = { 1400 1400 .probe = rk3x_i2c_probe, 1401 - .remove_new = rk3x_i2c_remove, 1401 + .remove = rk3x_i2c_remove, 1402 1402 .driver = { 1403 1403 .name = "rk3x-i2c", 1404 1404 .of_match_table = rk3x_i2c_match,
+1 -1
drivers/i2c/busses/i2c-rzv2m.c
··· 536 536 .pm = pm_sleep_ptr(&rzv2m_i2c_pm_ops), 537 537 }, 538 538 .probe = rzv2m_i2c_probe, 539 - .remove_new = rzv2m_i2c_remove, 539 + .remove = rzv2m_i2c_remove, 540 540 }; 541 541 module_platform_driver(rzv2m_i2c_driver); 542 542
+1 -1
drivers/i2c/busses/i2c-s3c2410.c
··· 1176 1176 1177 1177 static struct platform_driver s3c24xx_i2c_driver = { 1178 1178 .probe = s3c24xx_i2c_probe, 1179 - .remove_new = s3c24xx_i2c_remove, 1179 + .remove = s3c24xx_i2c_remove, 1180 1180 .id_table = s3c24xx_driver_ids, 1181 1181 .driver = { 1182 1182 .name = "s3c-i2c",
+1 -1
drivers/i2c/busses/i2c-scmi.c
··· 411 411 412 412 static struct platform_driver smbus_cmi_driver = { 413 413 .probe = smbus_cmi_probe, 414 - .remove_new = smbus_cmi_remove, 414 + .remove = smbus_cmi_remove, 415 415 .driver = { 416 416 .name = "smbus_cmi", 417 417 .acpi_match_table = acpi_smbus_cmi_ids,
+1 -1
drivers/i2c/busses/i2c-sh7760.c
··· 552 552 .name = SH7760_I2C_DEVNAME, 553 553 }, 554 554 .probe = sh7760_i2c_probe, 555 - .remove_new = sh7760_i2c_remove, 555 + .remove = sh7760_i2c_remove, 556 556 }; 557 557 558 558 module_platform_driver(sh7760_i2c_drv);
+1 -1
drivers/i2c/busses/i2c-sh_mobile.c
··· 983 983 .pm = pm_sleep_ptr(&sh_mobile_i2c_pm_ops), 984 984 }, 985 985 .probe = sh_mobile_i2c_probe, 986 - .remove_new = sh_mobile_i2c_remove, 986 + .remove = sh_mobile_i2c_remove, 987 987 }; 988 988 989 989 static int __init sh_mobile_i2c_adap_init(void)
+1 -1
drivers/i2c/busses/i2c-simtec.c
··· 144 144 .name = "simtec-i2c", 145 145 }, 146 146 .probe = simtec_i2c_probe, 147 - .remove_new = simtec_i2c_remove, 147 + .remove = simtec_i2c_remove, 148 148 }; 149 149 150 150 module_platform_driver(simtec_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-sprd.c
··· 643 643 644 644 static struct platform_driver sprd_i2c_driver = { 645 645 .probe = sprd_i2c_probe, 646 - .remove_new = sprd_i2c_remove, 646 + .remove = sprd_i2c_remove, 647 647 .driver = { 648 648 .name = "sprd-i2c", 649 649 .of_match_table = sprd_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-st.c
··· 893 893 .pm = pm_sleep_ptr(&st_i2c_pm), 894 894 }, 895 895 .probe = st_i2c_probe, 896 - .remove_new = st_i2c_remove, 896 + .remove = st_i2c_remove, 897 897 }; 898 898 899 899 module_platform_driver(st_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-stm32f4.c
··· 869 869 .of_match_table = stm32f4_i2c_match, 870 870 }, 871 871 .probe = stm32f4_i2c_probe, 872 - .remove_new = stm32f4_i2c_remove, 872 + .remove = stm32f4_i2c_remove, 873 873 }; 874 874 875 875 module_platform_driver(stm32f4_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-stm32f7.c
··· 2532 2532 .pm = &stm32f7_i2c_pm_ops, 2533 2533 }, 2534 2534 .probe = stm32f7_i2c_probe, 2535 - .remove_new = stm32f7_i2c_remove, 2535 + .remove = stm32f7_i2c_remove, 2536 2536 }; 2537 2537 2538 2538 module_platform_driver(stm32f7_i2c_driver);
+1 -1
drivers/i2c/busses/i2c-sun6i-p2wi.c
··· 319 319 320 320 static struct platform_driver p2wi_driver = { 321 321 .probe = p2wi_probe, 322 - .remove_new = p2wi_remove, 322 + .remove = p2wi_remove, 323 323 .driver = { 324 324 .name = "i2c-sunxi-p2wi", 325 325 .of_match_table = p2wi_of_match_table,
+1 -1
drivers/i2c/busses/i2c-synquacer.c
··· 629 629 630 630 static struct platform_driver synquacer_i2c_driver = { 631 631 .probe = synquacer_i2c_probe, 632 - .remove_new = synquacer_i2c_remove, 632 + .remove = synquacer_i2c_remove, 633 633 .driver = { 634 634 .name = "synquacer_i2c", 635 635 .of_match_table = of_match_ptr(synquacer_i2c_dt_ids),
+1 -1
drivers/i2c/busses/i2c-tegra-bpmp.c
··· 335 335 .of_match_table = tegra_bpmp_i2c_of_match, 336 336 }, 337 337 .probe = tegra_bpmp_i2c_probe, 338 - .remove_new = tegra_bpmp_i2c_remove, 338 + .remove = tegra_bpmp_i2c_remove, 339 339 }; 340 340 module_platform_driver(tegra_bpmp_i2c_driver); 341 341
+1 -1
drivers/i2c/busses/i2c-tegra.c
··· 1964 1964 1965 1965 static struct platform_driver tegra_i2c_driver = { 1966 1966 .probe = tegra_i2c_probe, 1967 - .remove_new = tegra_i2c_remove, 1967 + .remove = tegra_i2c_remove, 1968 1968 .driver = { 1969 1969 .name = "tegra-i2c", 1970 1970 .of_match_table = tegra_i2c_of_match,
+1 -1
drivers/i2c/busses/i2c-uniphier-f.c
··· 615 615 616 616 static struct platform_driver uniphier_fi2c_drv = { 617 617 .probe = uniphier_fi2c_probe, 618 - .remove_new = uniphier_fi2c_remove, 618 + .remove = uniphier_fi2c_remove, 619 619 .driver = { 620 620 .name = "uniphier-fi2c", 621 621 .of_match_table = uniphier_fi2c_match,
+1 -1
drivers/i2c/busses/i2c-uniphier.c
··· 409 409 410 410 static struct platform_driver uniphier_i2c_drv = { 411 411 .probe = uniphier_i2c_probe, 412 - .remove_new = uniphier_i2c_remove, 412 + .remove = uniphier_i2c_remove, 413 413 .driver = { 414 414 .name = "uniphier-i2c", 415 415 .of_match_table = uniphier_i2c_match,
+1 -1
drivers/i2c/busses/i2c-versatile.c
··· 109 109 110 110 static struct platform_driver i2c_versatile_driver = { 111 111 .probe = i2c_versatile_probe, 112 - .remove_new = i2c_versatile_remove, 112 + .remove = i2c_versatile_remove, 113 113 .driver = { 114 114 .name = "versatile-i2c", 115 115 .of_match_table = i2c_versatile_match,
+1 -1
drivers/i2c/busses/i2c-viai2c-wmt.c
··· 169 169 170 170 static struct platform_driver wmt_i2c_driver = { 171 171 .probe = wmt_i2c_probe, 172 - .remove_new = wmt_i2c_remove, 172 + .remove = wmt_i2c_remove, 173 173 .driver = { 174 174 .name = "wmt-i2c", 175 175 .of_match_table = wmt_i2c_dt_ids,
+1 -1
drivers/i2c/busses/i2c-viperboard.c
··· 415 415 static struct platform_driver vprbrd_i2c_driver = { 416 416 .driver.name = "viperboard-i2c", 417 417 .probe = vprbrd_i2c_probe, 418 - .remove_new = vprbrd_i2c_remove, 418 + .remove = vprbrd_i2c_remove, 419 419 }; 420 420 421 421 static int __init vprbrd_i2c_init(void)
+1 -1
drivers/i2c/busses/i2c-xgene-slimpro.c
··· 581 581 582 582 static struct platform_driver xgene_slimpro_i2c_driver = { 583 583 .probe = xgene_slimpro_i2c_probe, 584 - .remove_new = xgene_slimpro_i2c_remove, 584 + .remove = xgene_slimpro_i2c_remove, 585 585 .driver = { 586 586 .name = "xgene-slimpro-i2c", 587 587 .of_match_table = of_match_ptr(xgene_slimpro_i2c_dt_ids),
+1 -1
drivers/i2c/busses/i2c-xiic.c
··· 1395 1395 1396 1396 static struct platform_driver xiic_i2c_driver = { 1397 1397 .probe = xiic_i2c_probe, 1398 - .remove_new = xiic_i2c_remove, 1398 + .remove = xiic_i2c_remove, 1399 1399 .driver = { 1400 1400 .name = DRIVER_NAME, 1401 1401 .of_match_table = of_match_ptr(xiic_of_match),
+1 -1
drivers/i2c/busses/i2c-xlp9xx.c
··· 579 579 580 580 static struct platform_driver xlp9xx_i2c_driver = { 581 581 .probe = xlp9xx_i2c_probe, 582 - .remove_new = xlp9xx_i2c_remove, 582 + .remove = xlp9xx_i2c_remove, 583 583 .driver = { 584 584 .name = "xlp9xx-i2c", 585 585 .acpi_match_table = ACPI_PTR(xlp9xx_i2c_acpi_ids),
+1 -1
drivers/i2c/busses/scx200_acb.c
··· 536 536 .name = "cs5535-smb", 537 537 }, 538 538 .probe = scx200_probe, 539 - .remove_new = scx200_remove, 539 + .remove = scx200_remove, 540 540 }; 541 541 542 542 static const struct pci_device_id scx200_isa[] = {
+1 -1
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
··· 190 190 191 191 static struct platform_driver i2c_arbitrator_driver = { 192 192 .probe = i2c_arbitrator_probe, 193 - .remove_new = i2c_arbitrator_remove, 193 + .remove = i2c_arbitrator_remove, 194 194 .driver = { 195 195 .name = "i2c-arb-gpio-challenge", 196 196 .of_match_table = i2c_arbitrator_of_match,
+1 -1
drivers/i2c/muxes/i2c-demux-pinctrl.c
··· 314 314 .of_match_table = i2c_demux_pinctrl_of_match, 315 315 }, 316 316 .probe = i2c_demux_pinctrl_probe, 317 - .remove_new = i2c_demux_pinctrl_remove, 317 + .remove = i2c_demux_pinctrl_remove, 318 318 }; 319 319 module_platform_driver(i2c_demux_pinctrl_driver); 320 320
+1 -1
drivers/i2c/muxes/i2c-mux-gpio.c
··· 247 247 248 248 static struct platform_driver i2c_mux_gpio_driver = { 249 249 .probe = i2c_mux_gpio_probe, 250 - .remove_new = i2c_mux_gpio_remove, 250 + .remove = i2c_mux_gpio_remove, 251 251 .driver = { 252 252 .name = "i2c-mux-gpio", 253 253 .of_match_table = i2c_mux_gpio_of_match,
+1 -1
drivers/i2c/muxes/i2c-mux-gpmux.c
··· 152 152 153 153 static struct platform_driver i2c_mux_driver = { 154 154 .probe = i2c_mux_probe, 155 - .remove_new = i2c_mux_remove, 155 + .remove = i2c_mux_remove, 156 156 .driver = { 157 157 .name = "i2c-mux-gpmux", 158 158 .of_match_table = i2c_mux_of_match,
+1 -1
drivers/i2c/muxes/i2c-mux-mlxcpld.c
··· 182 182 .name = "i2c-mux-mlxcpld", 183 183 }, 184 184 .probe = mlxcpld_mux_probe, 185 - .remove_new = mlxcpld_mux_remove, 185 + .remove = mlxcpld_mux_remove, 186 186 }; 187 187 188 188 module_platform_driver(mlxcpld_mux_driver);
+1 -1
drivers/i2c/muxes/i2c-mux-pinctrl.c
··· 186 186 .of_match_table = i2c_mux_pinctrl_of_match, 187 187 }, 188 188 .probe = i2c_mux_pinctrl_probe, 189 - .remove_new = i2c_mux_pinctrl_remove, 189 + .remove = i2c_mux_pinctrl_remove, 190 190 }; 191 191 module_platform_driver(i2c_mux_pinctrl_driver); 192 192
+1 -1
drivers/i2c/muxes/i2c-mux-reg.c
··· 247 247 248 248 static struct platform_driver i2c_mux_reg_driver = { 249 249 .probe = i2c_mux_reg_probe, 250 - .remove_new = i2c_mux_reg_remove, 250 + .remove = i2c_mux_reg_remove, 251 251 .driver = { 252 252 .name = "i2c-mux-reg", 253 253 .of_match_table = of_match_ptr(i2c_mux_reg_of_match),