mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
spi: Switch back to struct platform_driver::remove()
After commit 0edb555a65
("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>
This commit is contained in:
parent
610442f85c
commit
494c3dc467
@ -840,7 +840,7 @@ static struct platform_driver atmel_qspi_driver = {
|
||||
.pm = pm_ptr(&atmel_qspi_pm_ops),
|
||||
},
|
||||
.probe = atmel_qspi_probe,
|
||||
.remove_new = atmel_qspi_remove,
|
||||
.remove = atmel_qspi_remove,
|
||||
};
|
||||
module_platform_driver(atmel_qspi_driver);
|
||||
|
||||
|
@ -223,7 +223,7 @@ static struct platform_driver ar934x_spi_driver = {
|
||||
.of_match_table = ar934x_spi_match,
|
||||
},
|
||||
.probe = ar934x_spi_probe,
|
||||
.remove_new = ar934x_spi_remove,
|
||||
.remove = ar934x_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ar934x_spi_driver);
|
||||
|
@ -1189,7 +1189,7 @@ MODULE_DEVICE_TABLE(of, aspeed_spi_matches);
|
||||
|
||||
static struct platform_driver aspeed_spi_driver = {
|
||||
.probe = aspeed_spi_probe,
|
||||
.remove_new = aspeed_spi_remove,
|
||||
.remove = aspeed_spi_remove,
|
||||
.driver = {
|
||||
.name = DEVICE_NAME,
|
||||
.of_match_table = aspeed_spi_matches,
|
||||
|
@ -650,7 +650,7 @@ static struct platform_driver at91_usart_spi_driver = {
|
||||
.pm = &at91_usart_spi_pm_ops,
|
||||
},
|
||||
.probe = at91_usart_spi_probe,
|
||||
.remove_new = at91_usart_spi_remove,
|
||||
.remove = at91_usart_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(at91_usart_spi_driver);
|
||||
|
@ -253,7 +253,7 @@ MODULE_DEVICE_TABLE(of, ath79_spi_of_match);
|
||||
|
||||
static struct platform_driver ath79_spi_driver = {
|
||||
.probe = ath79_spi_probe,
|
||||
.remove_new = ath79_spi_remove,
|
||||
.remove = ath79_spi_remove,
|
||||
.shutdown = ath79_spi_shutdown,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
|
@ -1781,7 +1781,7 @@ static struct platform_driver atmel_spi_driver = {
|
||||
.of_match_table = atmel_spi_dt_ids,
|
||||
},
|
||||
.probe = atmel_spi_probe,
|
||||
.remove_new = atmel_spi_remove,
|
||||
.remove = atmel_spi_remove,
|
||||
};
|
||||
module_platform_driver(atmel_spi_driver);
|
||||
|
||||
|
@ -940,7 +940,7 @@ MODULE_ALIAS("platform:au1550-spi");
|
||||
|
||||
static struct platform_driver au1550_spi_drv = {
|
||||
.probe = au1550_spi_probe,
|
||||
.remove_new = au1550_spi_remove,
|
||||
.remove = au1550_spi_remove,
|
||||
.driver = {
|
||||
.name = "au1550-spi",
|
||||
},
|
||||
|
@ -1435,7 +1435,7 @@ static struct platform_driver bcm2835_spi_driver = {
|
||||
.of_match_table = bcm2835_spi_match,
|
||||
},
|
||||
.probe = bcm2835_spi_probe,
|
||||
.remove_new = bcm2835_spi_remove,
|
||||
.remove = bcm2835_spi_remove,
|
||||
.shutdown = bcm2835_spi_remove,
|
||||
};
|
||||
module_platform_driver(bcm2835_spi_driver);
|
||||
|
@ -577,7 +577,7 @@ static struct platform_driver bcm2835aux_spi_driver = {
|
||||
.of_match_table = bcm2835aux_spi_match,
|
||||
},
|
||||
.probe = bcm2835aux_spi_probe,
|
||||
.remove_new = bcm2835aux_spi_remove,
|
||||
.remove = bcm2835aux_spi_remove,
|
||||
};
|
||||
module_platform_driver(bcm2835aux_spi_driver);
|
||||
|
||||
|
@ -944,7 +944,7 @@ static struct platform_driver bcm63xx_hsspi_driver = {
|
||||
.of_match_table = bcm63xx_hsspi_of_match,
|
||||
},
|
||||
.probe = bcm63xx_hsspi_probe,
|
||||
.remove_new = bcm63xx_hsspi_remove,
|
||||
.remove = bcm63xx_hsspi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bcm63xx_hsspi_driver);
|
||||
|
@ -656,7 +656,7 @@ static struct platform_driver bcm63xx_spi_driver = {
|
||||
},
|
||||
.id_table = bcm63xx_spi_dev_match,
|
||||
.probe = bcm63xx_spi_probe,
|
||||
.remove_new = bcm63xx_spi_remove,
|
||||
.remove = bcm63xx_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bcm63xx_spi_driver);
|
||||
|
@ -633,7 +633,7 @@ static struct platform_driver bcmbca_hsspi_driver = {
|
||||
.of_match_table = bcmbca_hsspi_of_match,
|
||||
},
|
||||
.probe = bcmbca_hsspi_probe,
|
||||
.remove_new = bcmbca_hsspi_remove,
|
||||
.remove = bcmbca_hsspi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bcmbca_hsspi_driver);
|
||||
|
@ -28,7 +28,7 @@ static void brcmstb_qspi_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver brcmstb_qspi_driver = {
|
||||
.probe = brcmstb_qspi_probe,
|
||||
.remove_new = brcmstb_qspi_remove,
|
||||
.remove = brcmstb_qspi_remove,
|
||||
.driver = {
|
||||
.name = "brcmstb_qspi",
|
||||
.pm = &bcm_qspi_pm_ops,
|
||||
|
@ -2112,7 +2112,7 @@ MODULE_DEVICE_TABLE(of, cqspi_dt_ids);
|
||||
|
||||
static struct platform_driver cqspi_platform_driver = {
|
||||
.probe = cqspi_probe,
|
||||
.remove_new = cqspi_remove,
|
||||
.remove = cqspi_remove,
|
||||
.driver = {
|
||||
.name = CQSPI_NAME,
|
||||
.pm = pm_ptr(&cqspi_dev_pm_ops),
|
||||
|
@ -804,7 +804,7 @@ MODULE_DEVICE_TABLE(of, cdns_spi_of_match);
|
||||
/* cdns_spi_driver - This structure defines the SPI subsystem platform driver */
|
||||
static struct platform_driver cdns_spi_driver = {
|
||||
.probe = cdns_spi_probe,
|
||||
.remove_new = cdns_spi_remove,
|
||||
.remove = cdns_spi_remove,
|
||||
.driver = {
|
||||
.name = CDNS_SPI_NAME,
|
||||
.of_match_table = cdns_spi_of_match,
|
||||
|
@ -90,7 +90,7 @@ static struct platform_driver octeon_spi_driver = {
|
||||
.of_match_table = octeon_spi_match,
|
||||
},
|
||||
.probe = octeon_spi_probe,
|
||||
.remove_new = octeon_spi_remove,
|
||||
.remove = octeon_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(octeon_spi_driver);
|
||||
|
@ -502,7 +502,7 @@ static struct platform_driver mcfqspi_driver = {
|
||||
.driver.name = DRIVER_NAME,
|
||||
.driver.pm = &mcfqspi_pm,
|
||||
.probe = mcfqspi_probe,
|
||||
.remove_new = mcfqspi_remove,
|
||||
.remove = mcfqspi_remove,
|
||||
};
|
||||
module_platform_driver(mcfqspi_driver);
|
||||
|
||||
|
@ -1039,7 +1039,7 @@ static struct platform_driver davinci_spi_driver = {
|
||||
.of_match_table = of_match_ptr(davinci_spi_of_match),
|
||||
},
|
||||
.probe = davinci_spi_probe,
|
||||
.remove_new = davinci_spi_remove,
|
||||
.remove = davinci_spi_remove,
|
||||
};
|
||||
module_platform_driver(davinci_spi_driver);
|
||||
|
||||
|
@ -871,7 +871,7 @@ static struct platform_driver spi_dln2_driver = {
|
||||
.pm = &dln2_spi_pm,
|
||||
},
|
||||
.probe = dln2_spi_probe,
|
||||
.remove_new = dln2_spi_remove,
|
||||
.remove = dln2_spi_remove,
|
||||
};
|
||||
module_platform_driver(spi_dln2_driver);
|
||||
|
||||
|
@ -317,7 +317,7 @@ MODULE_DEVICE_TABLE(of, dw_spi_bt1_of_match);
|
||||
|
||||
static struct platform_driver dw_spi_bt1_driver = {
|
||||
.probe = dw_spi_bt1_probe,
|
||||
.remove_new = dw_spi_bt1_remove,
|
||||
.remove = dw_spi_bt1_remove,
|
||||
.driver = {
|
||||
.name = "bt1-sys-ssi",
|
||||
.of_match_table = dw_spi_bt1_of_match,
|
||||
|
@ -433,7 +433,7 @@ MODULE_DEVICE_TABLE(acpi, dw_spi_mmio_acpi_match);
|
||||
|
||||
static struct platform_driver dw_spi_mmio_driver = {
|
||||
.probe = dw_spi_mmio_probe,
|
||||
.remove_new = dw_spi_mmio_remove,
|
||||
.remove = dw_spi_mmio_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.of_match_table = dw_spi_mmio_of_match,
|
||||
|
@ -729,7 +729,7 @@ static struct platform_driver ep93xx_spi_driver = {
|
||||
.of_match_table = ep93xx_spi_of_ids,
|
||||
},
|
||||
.probe = ep93xx_spi_probe,
|
||||
.remove_new = ep93xx_spi_remove,
|
||||
.remove = ep93xx_spi_remove,
|
||||
};
|
||||
module_platform_driver(ep93xx_spi_driver);
|
||||
|
||||
|
@ -1469,7 +1469,7 @@ static struct platform_driver fsl_dspi_driver = {
|
||||
.driver.of_match_table = fsl_dspi_dt_ids,
|
||||
.driver.pm = &dspi_pm,
|
||||
.probe = dspi_probe,
|
||||
.remove_new = dspi_remove,
|
||||
.remove = dspi_remove,
|
||||
.shutdown = dspi_shutdown,
|
||||
};
|
||||
module_platform_driver(fsl_dspi_driver);
|
||||
|
@ -835,7 +835,7 @@ static struct platform_driver fsl_espi_driver = {
|
||||
.pm = &espi_pm,
|
||||
},
|
||||
.probe = of_fsl_espi_probe,
|
||||
.remove_new = of_fsl_espi_remove,
|
||||
.remove = of_fsl_espi_remove,
|
||||
};
|
||||
module_platform_driver(fsl_espi_driver);
|
||||
|
||||
|
@ -1020,7 +1020,7 @@ static struct platform_driver fsl_lpspi_driver = {
|
||||
.pm = pm_ptr(&fsl_lpspi_pm_ops),
|
||||
},
|
||||
.probe = fsl_lpspi_probe,
|
||||
.remove_new = fsl_lpspi_remove,
|
||||
.remove = fsl_lpspi_remove,
|
||||
};
|
||||
module_platform_driver(fsl_lpspi_driver);
|
||||
|
||||
|
@ -997,7 +997,7 @@ static struct platform_driver fsl_qspi_driver = {
|
||||
.pm = &fsl_qspi_pm_ops,
|
||||
},
|
||||
.probe = fsl_qspi_probe,
|
||||
.remove_new = fsl_qspi_remove,
|
||||
.remove = fsl_qspi_remove,
|
||||
};
|
||||
module_platform_driver(fsl_qspi_driver);
|
||||
|
||||
|
@ -714,7 +714,7 @@ static struct platform_driver of_fsl_spi_driver = {
|
||||
.of_match_table = of_fsl_spi_match,
|
||||
},
|
||||
.probe = of_fsl_spi_probe,
|
||||
.remove_new = of_fsl_spi_remove,
|
||||
.remove = of_fsl_spi_remove,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_MPC832x_RDB
|
||||
@ -757,7 +757,7 @@ static void plat_mpc8xxx_spi_remove(struct platform_device *pdev)
|
||||
MODULE_ALIAS("platform:mpc8xxx_spi");
|
||||
static struct platform_driver mpc8xxx_spi_driver = {
|
||||
.probe = plat_mpc8xxx_spi_probe,
|
||||
.remove_new = plat_mpc8xxx_spi_remove,
|
||||
.remove = plat_mpc8xxx_spi_remove,
|
||||
.driver = {
|
||||
.name = "mpc8xxx_spi",
|
||||
},
|
||||
|
@ -542,7 +542,7 @@ MODULE_DEVICE_TABLE(acpi, hisi_spi_acpi_match);
|
||||
|
||||
static struct platform_driver hisi_spi_driver = {
|
||||
.probe = hisi_spi_probe,
|
||||
.remove_new = hisi_spi_remove,
|
||||
.remove = hisi_spi_remove,
|
||||
.driver = {
|
||||
.name = "hisi-kunpeng-spi",
|
||||
.acpi_match_table = hisi_spi_acpi_match,
|
||||
|
@ -756,7 +756,7 @@ static struct platform_driver img_spfi_driver = {
|
||||
.of_match_table = of_match_ptr(img_spfi_of_match),
|
||||
},
|
||||
.probe = img_spfi_probe,
|
||||
.remove_new = img_spfi_remove,
|
||||
.remove = img_spfi_remove,
|
||||
};
|
||||
module_platform_driver(img_spfi_driver);
|
||||
|
||||
|
@ -1956,7 +1956,7 @@ static struct platform_driver spi_imx_driver = {
|
||||
.pm = pm_ptr(&imx_spi_pm),
|
||||
},
|
||||
.probe = spi_imx_probe,
|
||||
.remove_new = spi_imx_remove,
|
||||
.remove = spi_imx_remove,
|
||||
};
|
||||
module_platform_driver(spi_imx_driver);
|
||||
|
||||
|
@ -138,7 +138,7 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_of_match);
|
||||
|
||||
static struct platform_driver bcm_iproc_driver = {
|
||||
.probe = bcm_iproc_probe,
|
||||
.remove_new = bcm_iproc_remove,
|
||||
.remove = bcm_iproc_remove,
|
||||
.driver = {
|
||||
.name = "bcm_iproc",
|
||||
.pm = &bcm_qspi_pm_ops,
|
||||
|
@ -1029,7 +1029,7 @@ static void lantiq_ssc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver lantiq_ssc_driver = {
|
||||
.probe = lantiq_ssc_probe,
|
||||
.remove_new = lantiq_ssc_remove,
|
||||
.remove = lantiq_ssc_remove,
|
||||
.driver = {
|
||||
.name = "spi-lantiq-ssc",
|
||||
.of_match_table = lantiq_ssc_match,
|
||||
|
@ -949,7 +949,7 @@ MODULE_DEVICE_TABLE(of, meson_spicc_of_match);
|
||||
|
||||
static struct platform_driver meson_spicc_driver = {
|
||||
.probe = meson_spicc_probe,
|
||||
.remove_new = meson_spicc_remove,
|
||||
.remove = meson_spicc_remove,
|
||||
.driver = {
|
||||
.name = "meson-spicc",
|
||||
.of_match_table = of_match_ptr(meson_spicc_of_match),
|
||||
|
@ -429,7 +429,7 @@ MODULE_DEVICE_TABLE(of, meson_spifc_dt_match);
|
||||
|
||||
static struct platform_driver meson_spifc_driver = {
|
||||
.probe = meson_spifc_probe,
|
||||
.remove_new = meson_spifc_remove,
|
||||
.remove = meson_spifc_remove,
|
||||
.driver = {
|
||||
.name = "meson-spifc",
|
||||
.of_match_table = of_match_ptr(meson_spifc_dt_match),
|
||||
|
@ -575,7 +575,7 @@ static struct platform_driver mchp_coreqspi_driver = {
|
||||
.name = "microchip,coreqspi",
|
||||
.of_match_table = mchp_coreqspi_of_match,
|
||||
},
|
||||
.remove_new = mchp_coreqspi_remove,
|
||||
.remove = mchp_coreqspi_remove,
|
||||
};
|
||||
module_platform_driver(mchp_coreqspi_driver);
|
||||
|
||||
|
@ -622,7 +622,7 @@ static struct platform_driver mchp_corespi_driver = {
|
||||
.pm = MICROCHIP_SPI_PM_OPS,
|
||||
.of_match_table = of_match_ptr(mchp_corespi_dt_ids),
|
||||
},
|
||||
.remove_new = mchp_corespi_remove,
|
||||
.remove = mchp_corespi_remove,
|
||||
};
|
||||
module_platform_driver(mchp_corespi_driver);
|
||||
MODULE_DESCRIPTION("Microchip coreSPI SPI controller driver");
|
||||
|
@ -544,6 +544,6 @@ static struct platform_driver mpc52xx_spi_of_driver = {
|
||||
.of_match_table = mpc52xx_spi_match,
|
||||
},
|
||||
.probe = mpc52xx_spi_probe,
|
||||
.remove_new = mpc52xx_spi_remove,
|
||||
.remove = mpc52xx_spi_remove,
|
||||
};
|
||||
module_platform_driver(mpc52xx_spi_of_driver);
|
||||
|
@ -1432,7 +1432,7 @@ static struct platform_driver mtk_spi_driver = {
|
||||
.of_match_table = mtk_spi_of_match,
|
||||
},
|
||||
.probe = mtk_spi_probe,
|
||||
.remove_new = mtk_spi_remove,
|
||||
.remove = mtk_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(mtk_spi_driver);
|
||||
|
@ -998,7 +998,7 @@ static struct platform_driver mtk_nor_driver = {
|
||||
.pm = &mtk_nor_pm_ops,
|
||||
},
|
||||
.probe = mtk_nor_probe,
|
||||
.remove_new = mtk_nor_remove,
|
||||
.remove = mtk_nor_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(mtk_nor_driver);
|
||||
|
@ -1477,7 +1477,7 @@ static void mtk_snand_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver mtk_snand_driver = {
|
||||
.probe = mtk_snand_probe,
|
||||
.remove_new = mtk_snand_remove,
|
||||
.remove = mtk_snand_remove,
|
||||
.driver = {
|
||||
.name = "mtk-snand",
|
||||
.of_match_table = mtk_snand_ids,
|
||||
|
@ -836,7 +836,7 @@ MODULE_DEVICE_TABLE(of, mxic_spi_of_ids);
|
||||
|
||||
static struct platform_driver mxic_spi_driver = {
|
||||
.probe = mxic_spi_probe,
|
||||
.remove_new = mxic_spi_remove,
|
||||
.remove = mxic_spi_remove,
|
||||
.driver = {
|
||||
.name = "mxic-spi",
|
||||
.of_match_table = mxic_spi_of_ids,
|
||||
|
@ -657,7 +657,7 @@ static void mxs_spi_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver mxs_spi_driver = {
|
||||
.probe = mxs_spi_probe,
|
||||
.remove_new = mxs_spi_remove,
|
||||
.remove = mxs_spi_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.of_match_table = mxs_spi_dt_ids,
|
||||
|
@ -766,12 +766,12 @@ MODULE_DEVICE_TABLE(of, npcm_fiu_dt_ids);
|
||||
|
||||
static struct platform_driver npcm_fiu_driver = {
|
||||
.driver = {
|
||||
.name = "NPCM-FIU",
|
||||
.bus = &platform_bus_type,
|
||||
.name = "NPCM-FIU",
|
||||
.bus = &platform_bus_type,
|
||||
.of_match_table = npcm_fiu_dt_ids,
|
||||
},
|
||||
.probe = npcm_fiu_probe,
|
||||
.remove_new = npcm_fiu_remove,
|
||||
.probe = npcm_fiu_probe,
|
||||
.remove = npcm_fiu_remove,
|
||||
};
|
||||
module_platform_driver(npcm_fiu_driver);
|
||||
|
||||
|
@ -452,7 +452,7 @@ static struct platform_driver npcm_pspi_driver = {
|
||||
.of_match_table = npcm_pspi_match,
|
||||
},
|
||||
.probe = npcm_pspi_probe,
|
||||
.remove_new = npcm_pspi_remove,
|
||||
.remove = npcm_pspi_remove,
|
||||
};
|
||||
module_platform_driver(npcm_pspi_driver);
|
||||
|
||||
|
@ -1331,7 +1331,7 @@ static struct platform_driver nxp_fspi_driver = {
|
||||
.pm = &nxp_fspi_pm_ops,
|
||||
},
|
||||
.probe = nxp_fspi_probe,
|
||||
.remove_new = nxp_fspi_remove,
|
||||
.remove = nxp_fspi_remove,
|
||||
};
|
||||
module_platform_driver(nxp_fspi_driver);
|
||||
|
||||
|
@ -288,7 +288,7 @@ MODULE_DEVICE_TABLE(of, tiny_spi_match);
|
||||
|
||||
static struct platform_driver tiny_spi_driver = {
|
||||
.probe = tiny_spi_probe,
|
||||
.remove_new = tiny_spi_remove,
|
||||
.remove = tiny_spi_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.pm = NULL,
|
||||
|
@ -523,7 +523,7 @@ static struct platform_driver uwire_driver = {
|
||||
.name = "omap_uwire",
|
||||
},
|
||||
.probe = uwire_probe,
|
||||
.remove_new = uwire_remove,
|
||||
.remove = uwire_remove,
|
||||
// suspend ... unuse ck
|
||||
// resume ... use ck
|
||||
};
|
||||
|
@ -1654,7 +1654,7 @@ static struct platform_driver omap2_mcspi_driver = {
|
||||
.of_match_table = omap_mcspi_of_match,
|
||||
},
|
||||
.probe = omap2_mcspi_probe,
|
||||
.remove_new = omap2_mcspi_remove,
|
||||
.remove = omap2_mcspi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(omap2_mcspi_driver);
|
||||
|
@ -846,7 +846,7 @@ static struct platform_driver orion_spi_driver = {
|
||||
.of_match_table = of_match_ptr(orion_spi_of_match_table),
|
||||
},
|
||||
.probe = orion_spi_probe,
|
||||
.remove_new = orion_spi_remove,
|
||||
.remove = orion_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(orion_spi_driver);
|
||||
|
@ -682,7 +682,7 @@ static struct platform_driver pic32_sqi_driver = {
|
||||
.of_match_table = of_match_ptr(pic32_sqi_of_ids),
|
||||
},
|
||||
.probe = pic32_sqi_probe,
|
||||
.remove_new = pic32_sqi_remove,
|
||||
.remove = pic32_sqi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(pic32_sqi_driver);
|
||||
|
@ -859,7 +859,7 @@ static struct platform_driver pic32_spi_driver = {
|
||||
.of_match_table = of_match_ptr(pic32_spi_of_match),
|
||||
},
|
||||
.probe = pic32_spi_probe,
|
||||
.remove_new = pic32_spi_remove,
|
||||
.remove = pic32_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(pic32_spi_driver);
|
||||
|
@ -484,7 +484,7 @@ MODULE_DEVICE_TABLE(of, spi_ppc4xx_of_match);
|
||||
|
||||
static struct platform_driver spi_ppc4xx_of_driver = {
|
||||
.probe = spi_ppc4xx_of_probe,
|
||||
.remove_new = spi_ppc4xx_of_remove,
|
||||
.remove = spi_ppc4xx_of_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.of_match_table = spi_ppc4xx_of_match,
|
||||
|
@ -207,7 +207,7 @@ static struct platform_driver driver = {
|
||||
.of_match_table = pxa2xx_spi_of_match,
|
||||
},
|
||||
.probe = pxa2xx_spi_platform_probe,
|
||||
.remove_new = pxa2xx_spi_platform_remove,
|
||||
.remove = pxa2xx_spi_platform_remove,
|
||||
};
|
||||
|
||||
static int __init pxa2xx_spi_init(void)
|
||||
|
@ -908,7 +908,7 @@ static struct platform_driver qcom_qspi_driver = {
|
||||
.of_match_table = qcom_qspi_dt_match,
|
||||
},
|
||||
.probe = qcom_qspi_probe,
|
||||
.remove_new = qcom_qspi_remove,
|
||||
.remove = qcom_qspi_remove,
|
||||
};
|
||||
module_platform_driver(qcom_qspi_driver);
|
||||
|
||||
|
@ -1364,7 +1364,7 @@ static struct platform_driver spi_qup_driver = {
|
||||
.of_match_table = spi_qup_dt_match,
|
||||
},
|
||||
.probe = spi_qup_probe,
|
||||
.remove_new = spi_qup_remove,
|
||||
.remove = spi_qup_remove,
|
||||
};
|
||||
module_platform_driver(spi_qup_driver);
|
||||
|
||||
|
@ -196,7 +196,7 @@ MODULE_DEVICE_TABLE(of, rb4xx_spi_dt_match);
|
||||
|
||||
static struct platform_driver rb4xx_spi_drv = {
|
||||
.probe = rb4xx_spi_probe,
|
||||
.remove_new = rb4xx_spi_remove,
|
||||
.remove = rb4xx_spi_remove,
|
||||
.driver = {
|
||||
.name = "rb4xx-spi",
|
||||
.of_match_table = of_match_ptr(rb4xx_spi_dt_match),
|
||||
|
@ -677,7 +677,7 @@ static struct platform_driver rockchip_sfc_driver = {
|
||||
.of_match_table = rockchip_sfc_dt_ids,
|
||||
},
|
||||
.probe = rockchip_sfc_probe,
|
||||
.remove_new = rockchip_sfc_remove,
|
||||
.remove = rockchip_sfc_remove,
|
||||
};
|
||||
module_platform_driver(rockchip_sfc_driver);
|
||||
|
||||
|
@ -1036,7 +1036,7 @@ static struct platform_driver rockchip_spi_driver = {
|
||||
.of_match_table = of_match_ptr(rockchip_spi_dt_match),
|
||||
},
|
||||
.probe = rockchip_spi_probe,
|
||||
.remove_new = rockchip_spi_remove,
|
||||
.remove = rockchip_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(rockchip_spi_driver);
|
||||
|
@ -206,7 +206,7 @@ MODULE_DEVICE_TABLE(platform, rpc_if_spi_id_table);
|
||||
|
||||
static struct platform_driver rpcif_spi_driver = {
|
||||
.probe = rpcif_spi_probe,
|
||||
.remove_new = rpcif_spi_remove,
|
||||
.remove = rpcif_spi_remove,
|
||||
.id_table = rpc_if_spi_id_table,
|
||||
.driver = {
|
||||
.name = "rpc-if-spi",
|
||||
|
@ -1427,7 +1427,7 @@ static SIMPLE_DEV_PM_OPS(rspi_pm_ops, rspi_suspend, rspi_resume);
|
||||
|
||||
static struct platform_driver rspi_driver = {
|
||||
.probe = rspi_probe,
|
||||
.remove_new = rspi_remove,
|
||||
.remove = rspi_remove,
|
||||
.id_table = spi_driver_ids,
|
||||
.driver = {
|
||||
.name = "renesas_spi",
|
||||
|
@ -683,7 +683,7 @@ MODULE_DEVICE_TABLE(of, rzv2m_csi_match);
|
||||
|
||||
static struct platform_driver rzv2m_csi_drv = {
|
||||
.probe = rzv2m_csi_probe,
|
||||
.remove_new = rzv2m_csi_remove,
|
||||
.remove = rzv2m_csi_remove,
|
||||
.driver = {
|
||||
.name = "rzv2m_csi",
|
||||
.of_match_table = rzv2m_csi_match,
|
||||
|
@ -1681,7 +1681,7 @@ static struct platform_driver s3c64xx_spi_driver = {
|
||||
.of_match_table = of_match_ptr(s3c64xx_spi_dt_match),
|
||||
},
|
||||
.probe = s3c64xx_spi_probe,
|
||||
.remove_new = s3c64xx_spi_remove,
|
||||
.remove = s3c64xx_spi_remove,
|
||||
.id_table = s3c64xx_spi_driver_ids,
|
||||
};
|
||||
MODULE_ALIAS("platform:s3c64xx-spi");
|
||||
|
@ -293,7 +293,7 @@ MODULE_DEVICE_TABLE(of, hspi_of_match);
|
||||
|
||||
static struct platform_driver hspi_driver = {
|
||||
.probe = hspi_probe,
|
||||
.remove_new = hspi_remove,
|
||||
.remove = hspi_remove,
|
||||
.driver = {
|
||||
.name = "sh-hspi",
|
||||
.of_match_table = hspi_of_match,
|
||||
|
@ -1429,7 +1429,7 @@ static SIMPLE_DEV_PM_OPS(sh_msiof_spi_pm_ops, sh_msiof_spi_suspend,
|
||||
|
||||
static struct platform_driver sh_msiof_spi_drv = {
|
||||
.probe = sh_msiof_spi_probe,
|
||||
.remove_new = sh_msiof_spi_remove,
|
||||
.remove = sh_msiof_spi_remove,
|
||||
.id_table = spi_driver_ids,
|
||||
.driver = {
|
||||
.name = "spi_sh_msiof",
|
||||
|
@ -183,7 +183,7 @@ static void sh_sci_spi_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver sh_sci_spi_drv = {
|
||||
.probe = sh_sci_spi_probe,
|
||||
.remove_new = sh_sci_spi_remove,
|
||||
.remove = sh_sci_spi_remove,
|
||||
.driver = {
|
||||
.name = "spi_sh_sci",
|
||||
},
|
||||
|
@ -459,7 +459,7 @@ static int spi_sh_probe(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver spi_sh_driver = {
|
||||
.probe = spi_sh_probe,
|
||||
.remove_new = spi_sh_remove,
|
||||
.remove = spi_sh_remove,
|
||||
.driver = {
|
||||
.name = "sh_spi",
|
||||
},
|
||||
|
@ -471,7 +471,7 @@ MODULE_DEVICE_TABLE(of, sifive_spi_of_match);
|
||||
|
||||
static struct platform_driver sifive_spi_driver = {
|
||||
.probe = sifive_spi_probe,
|
||||
.remove_new = sifive_spi_remove,
|
||||
.remove = sifive_spi_remove,
|
||||
.driver = {
|
||||
.name = SIFIVE_SPI_DRIVER_NAME,
|
||||
.pm = &sifive_spi_pm_ops,
|
||||
|
@ -556,7 +556,7 @@ static struct platform_driver mtk_spi_slave_driver = {
|
||||
.of_match_table = mtk_spi_slave_of_match,
|
||||
},
|
||||
.probe = mtk_spi_slave_probe,
|
||||
.remove_new = mtk_spi_slave_remove,
|
||||
.remove = mtk_spi_slave_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(mtk_spi_slave_driver);
|
||||
|
@ -680,7 +680,7 @@ static struct platform_driver f_ospi_driver = {
|
||||
.of_match_table = f_ospi_dt_ids,
|
||||
},
|
||||
.probe = f_ospi_probe,
|
||||
.remove_new = f_ospi_remove,
|
||||
.remove = f_ospi_remove,
|
||||
};
|
||||
module_platform_driver(f_ospi_driver);
|
||||
|
||||
|
@ -1072,7 +1072,7 @@ static struct platform_driver sprd_spi_driver = {
|
||||
.pm = &sprd_spi_pm_ops,
|
||||
},
|
||||
.probe = sprd_spi_probe,
|
||||
.remove_new = sprd_spi_remove,
|
||||
.remove = sprd_spi_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(sprd_spi_driver);
|
||||
|
@ -449,7 +449,7 @@ static struct platform_driver spi_st_driver = {
|
||||
.of_match_table = of_match_ptr(stm_spi_match),
|
||||
},
|
||||
.probe = spi_st_probe,
|
||||
.remove_new = spi_st_remove,
|
||||
.remove = spi_st_remove,
|
||||
};
|
||||
module_platform_driver(spi_st_driver);
|
||||
|
||||
|
@ -963,7 +963,7 @@ MODULE_DEVICE_TABLE(of, stm32_qspi_match);
|
||||
|
||||
static struct platform_driver stm32_qspi_driver = {
|
||||
.probe = stm32_qspi_probe,
|
||||
.remove_new = stm32_qspi_remove,
|
||||
.remove = stm32_qspi_remove,
|
||||
.driver = {
|
||||
.name = "stm32-qspi",
|
||||
.of_match_table = stm32_qspi_match,
|
||||
|
@ -2355,7 +2355,7 @@ static const struct dev_pm_ops stm32_spi_pm_ops = {
|
||||
|
||||
static struct platform_driver stm32_spi_driver = {
|
||||
.probe = stm32_spi_probe,
|
||||
.remove_new = stm32_spi_remove,
|
||||
.remove = stm32_spi_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.pm = &stm32_spi_pm_ops,
|
||||
|
@ -535,7 +535,7 @@ static const struct dev_pm_ops sun4i_spi_pm_ops = {
|
||||
|
||||
static struct platform_driver sun4i_spi_driver = {
|
||||
.probe = sun4i_spi_probe,
|
||||
.remove_new = sun4i_spi_remove,
|
||||
.remove = sun4i_spi_remove,
|
||||
.driver = {
|
||||
.name = "sun4i-spi",
|
||||
.of_match_table = sun4i_spi_match,
|
||||
|
@ -810,7 +810,7 @@ static const struct dev_pm_ops sun6i_spi_pm_ops = {
|
||||
|
||||
static struct platform_driver sun6i_spi_driver = {
|
||||
.probe = sun6i_spi_probe,
|
||||
.remove_new = sun6i_spi_remove,
|
||||
.remove = sun6i_spi_remove,
|
||||
.driver = {
|
||||
.name = "sun6i-spi",
|
||||
.of_match_table = sun6i_spi_match,
|
||||
|
@ -563,7 +563,7 @@ MODULE_DEVICE_TABLE(of, sp7021_spi_controller_ids);
|
||||
|
||||
static struct platform_driver sp7021_spi_controller_driver = {
|
||||
.probe = sp7021_spi_controller_probe,
|
||||
.remove_new = sp7021_spi_controller_remove,
|
||||
.remove = sp7021_spi_controller_remove,
|
||||
.driver = {
|
||||
.name = "sunplus,sp7021-spi-controller",
|
||||
.of_match_table = sp7021_spi_controller_ids,
|
||||
|
@ -818,7 +818,7 @@ static struct platform_driver synquacer_spi_driver = {
|
||||
.acpi_match_table = ACPI_PTR(synquacer_hsspi_acpi_ids),
|
||||
},
|
||||
.probe = synquacer_spi_probe,
|
||||
.remove_new = synquacer_spi_remove,
|
||||
.remove = synquacer_spi_remove,
|
||||
};
|
||||
module_platform_driver(synquacer_spi_driver);
|
||||
|
||||
|
@ -1518,7 +1518,7 @@ static struct platform_driver tegra_spi_driver = {
|
||||
.of_match_table = tegra_spi_of_match,
|
||||
},
|
||||
.probe = tegra_spi_probe,
|
||||
.remove_new = tegra_spi_remove,
|
||||
.remove = tegra_spi_remove,
|
||||
};
|
||||
module_platform_driver(tegra_spi_driver);
|
||||
|
||||
|
@ -600,7 +600,7 @@ static struct platform_driver tegra_sflash_driver = {
|
||||
.of_match_table = tegra_sflash_of_match,
|
||||
},
|
||||
.probe = tegra_sflash_probe,
|
||||
.remove_new = tegra_sflash_remove,
|
||||
.remove = tegra_sflash_remove,
|
||||
};
|
||||
module_platform_driver(tegra_sflash_driver);
|
||||
|
||||
|
@ -1214,7 +1214,7 @@ static struct platform_driver tegra_slink_driver = {
|
||||
.of_match_table = tegra_slink_of_match,
|
||||
},
|
||||
.probe = tegra_slink_probe,
|
||||
.remove_new = tegra_slink_remove,
|
||||
.remove = tegra_slink_remove,
|
||||
};
|
||||
module_platform_driver(tegra_slink_driver);
|
||||
|
||||
|
@ -1724,7 +1724,7 @@ static struct platform_driver tegra_qspi_driver = {
|
||||
.acpi_match_table = ACPI_PTR(tegra_qspi_acpi_match),
|
||||
},
|
||||
.probe = tegra_qspi_probe,
|
||||
.remove_new = tegra_qspi_remove,
|
||||
.remove = tegra_qspi_remove,
|
||||
};
|
||||
module_platform_driver(tegra_qspi_driver);
|
||||
|
||||
|
@ -931,7 +931,7 @@ static const struct dev_pm_ops ti_qspi_pm_ops = {
|
||||
|
||||
static struct platform_driver ti_qspi_driver = {
|
||||
.probe = ti_qspi_probe,
|
||||
.remove_new = ti_qspi_remove,
|
||||
.remove = ti_qspi_remove,
|
||||
.driver = {
|
||||
.name = "ti-qspi",
|
||||
.pm = &ti_qspi_pm_ops,
|
||||
|
@ -1514,7 +1514,7 @@ static struct platform_driver pch_spi_pd_driver = {
|
||||
.name = "pch-spi",
|
||||
},
|
||||
.probe = pch_spi_pd_probe,
|
||||
.remove_new = pch_spi_pd_remove,
|
||||
.remove = pch_spi_pd_remove,
|
||||
.suspend = pch_spi_pd_suspend,
|
||||
.resume = pch_spi_pd_resume
|
||||
};
|
||||
|
@ -796,7 +796,7 @@ MODULE_DEVICE_TABLE(of, uniphier_spi_match);
|
||||
|
||||
static struct platform_driver uniphier_spi_driver = {
|
||||
.probe = uniphier_spi_probe,
|
||||
.remove_new = uniphier_spi_remove,
|
||||
.remove = uniphier_spi_remove,
|
||||
.driver = {
|
||||
.name = "uniphier-spi",
|
||||
.of_match_table = uniphier_spi_match,
|
||||
|
@ -524,7 +524,7 @@ MODULE_ALIAS("platform:" XILINX_SPI_NAME);
|
||||
|
||||
static struct platform_driver xilinx_spi_driver = {
|
||||
.probe = xilinx_spi_probe,
|
||||
.remove_new = xilinx_spi_remove,
|
||||
.remove = xilinx_spi_remove,
|
||||
.driver = {
|
||||
.name = XILINX_SPI_NAME,
|
||||
.of_match_table = xilinx_spi_of_match,
|
||||
|
@ -138,7 +138,7 @@ MODULE_DEVICE_TABLE(of, xtfpga_spi_of_match);
|
||||
|
||||
static struct platform_driver xtfpga_spi_driver = {
|
||||
.probe = xtfpga_spi_probe,
|
||||
.remove_new = xtfpga_spi_remove,
|
||||
.remove = xtfpga_spi_remove,
|
||||
.driver = {
|
||||
.name = XTFPGA_SPI_NAME,
|
||||
.of_match_table = of_match_ptr(xtfpga_spi_of_match),
|
||||
|
@ -763,7 +763,7 @@ MODULE_DEVICE_TABLE(of, zynq_qspi_of_match);
|
||||
*/
|
||||
static struct platform_driver zynq_qspi_driver = {
|
||||
.probe = zynq_qspi_probe,
|
||||
.remove_new = zynq_qspi_remove,
|
||||
.remove = zynq_qspi_remove,
|
||||
.driver = {
|
||||
.name = "zynq-qspi",
|
||||
.of_match_table = zynq_qspi_of_match,
|
||||
|
@ -1389,7 +1389,7 @@ MODULE_DEVICE_TABLE(of, zynqmp_qspi_of_match);
|
||||
|
||||
static struct platform_driver zynqmp_qspi_driver = {
|
||||
.probe = zynqmp_qspi_probe,
|
||||
.remove_new = zynqmp_qspi_remove,
|
||||
.remove = zynqmp_qspi_remove,
|
||||
.driver = {
|
||||
.name = "zynqmp-qspi",
|
||||
.of_match_table = zynqmp_qspi_of_match,
|
||||
|
Loading…
Reference in New Issue
Block a user