You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
mtd: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
committed by
Artem Bityutskiy
parent
8ea9eee903
commit
5153b88cac
@@ -77,7 +77,7 @@ static int __devexit bcm47xxsflash_remove(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static struct platform_driver bcma_sflash_driver = {
|
||||
.remove = __devexit_p(bcm47xxsflash_remove),
|
||||
.remove = bcm47xxsflash_remove,
|
||||
.driver = {
|
||||
.name = "bcma_sflash",
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -994,7 +994,7 @@ static struct spi_driver m25p80_driver = {
|
||||
},
|
||||
.id_table = m25p_ids,
|
||||
.probe = m25p_probe,
|
||||
.remove = __devexit_p(m25p_remove),
|
||||
.remove = m25p_remove,
|
||||
|
||||
/* REVISIT: many of these chips have deep power-down modes, which
|
||||
* should clearly be entered on suspend() to minimize power use.
|
||||
|
||||
@@ -920,7 +920,7 @@ static struct spi_driver dataflash_driver = {
|
||||
},
|
||||
|
||||
.probe = dataflash_probe,
|
||||
.remove = __devexit_p(dataflash_remove),
|
||||
.remove = dataflash_remove,
|
||||
|
||||
/* FIXME: investigate suspend and resume... */
|
||||
};
|
||||
|
||||
@@ -1092,7 +1092,7 @@ static struct platform_driver spear_smi_driver = {
|
||||
#endif
|
||||
},
|
||||
.probe = spear_smi_probe,
|
||||
.remove = __devexit_p(spear_smi_remove),
|
||||
.remove = spear_smi_remove,
|
||||
};
|
||||
module_platform_driver(spear_smi_driver);
|
||||
|
||||
|
||||
@@ -428,7 +428,7 @@ static struct spi_driver sst25l_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sst25l_probe,
|
||||
.remove = __devexit_p(sst25l_remove),
|
||||
.remove = sst25l_remove,
|
||||
};
|
||||
|
||||
module_spi_driver(sst25l_driver);
|
||||
|
||||
@@ -121,7 +121,7 @@ static struct platform_driver autcpu12_nvram_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = autcpu12_nvram_probe,
|
||||
.remove = __devexit_p(autcpu12_nvram_remove),
|
||||
.remove = autcpu12_nvram_remove,
|
||||
};
|
||||
module_platform_driver(autcpu12_nvram_driver);
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ static int __devexit bfin_flash_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bfin_flash_driver = {
|
||||
.probe = bfin_flash_probe,
|
||||
.remove = __devexit_p(bfin_flash_remove),
|
||||
.remove = bfin_flash_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
},
|
||||
|
||||
@@ -273,7 +273,7 @@ static int __devexit gpio_flash_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver gpio_flash_driver = {
|
||||
.probe = gpio_flash_probe,
|
||||
.remove = __devexit_p(gpio_flash_remove),
|
||||
.remove = gpio_flash_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
},
|
||||
|
||||
@@ -256,7 +256,7 @@ vr_nor_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
static struct pci_driver vr_nor_pci_driver = {
|
||||
.name = DRV_NAME,
|
||||
.probe = vr_nor_pci_probe,
|
||||
.remove = __devexit_p(vr_nor_pci_remove),
|
||||
.remove = vr_nor_pci_remove,
|
||||
.id_table = vr_nor_pci_ids,
|
||||
};
|
||||
|
||||
|
||||
@@ -209,7 +209,7 @@ MODULE_DEVICE_TABLE(of, ltq_mtd_match);
|
||||
|
||||
static struct platform_driver ltq_mtd_driver = {
|
||||
.probe = ltq_mtd_probe,
|
||||
.remove = __devexit_p(ltq_mtd_remove),
|
||||
.remove = ltq_mtd_remove,
|
||||
.driver = {
|
||||
.name = "ltq-nor",
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -218,7 +218,7 @@ done:
|
||||
|
||||
static struct platform_driver latch_addr_flash_driver = {
|
||||
.probe = latch_addr_flash_probe,
|
||||
.remove = __devexit_p(latch_addr_flash_remove),
|
||||
.remove = latch_addr_flash_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
},
|
||||
|
||||
@@ -326,7 +326,7 @@ mtd_pci_remove(struct pci_dev *dev)
|
||||
static struct pci_driver mtd_pci_driver = {
|
||||
.name = "MTD PCI",
|
||||
.probe = mtd_pci_probe,
|
||||
.remove = __devexit_p(mtd_pci_remove),
|
||||
.remove = mtd_pci_remove,
|
||||
.id_table = mtd_pci_ids,
|
||||
};
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@ static struct i2c_driver pismo_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pismo_probe,
|
||||
.remove = __devexit_p(pismo_remove),
|
||||
.remove = pismo_remove,
|
||||
.id_table = pismo_id,
|
||||
};
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ static struct platform_driver pxa2xx_flash_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pxa2xx_flash_probe,
|
||||
.remove = __devexit_p(pxa2xx_flash_remove),
|
||||
.remove = pxa2xx_flash_remove,
|
||||
.shutdown = pxa2xx_flash_shutdown,
|
||||
};
|
||||
|
||||
|
||||
@@ -231,7 +231,7 @@ static struct pci_driver scb2_flash_driver = {
|
||||
.name = "Intel SCB2 BIOS Flash",
|
||||
.id_table = scb2_flash_pci_ids,
|
||||
.probe = scb2_flash_probe,
|
||||
.remove = __devexit_p(scb2_flash_remove),
|
||||
.remove = scb2_flash_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(scb2_flash_driver);
|
||||
|
||||
@@ -155,7 +155,7 @@ static struct platform_driver uflash_driver = {
|
||||
.of_match_table = uflash_match,
|
||||
},
|
||||
.probe = uflash_probe,
|
||||
.remove = __devexit_p(uflash_remove),
|
||||
.remove = uflash_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(uflash_driver);
|
||||
|
||||
@@ -802,7 +802,7 @@ static struct maple_driver vmu_flash_driver = {
|
||||
.drv = {
|
||||
.name = "Dreamcast_visual_memory",
|
||||
.probe = probe_maple_vmu,
|
||||
.remove = __devexit_p(remove_maple_vmu),
|
||||
.remove = remove_maple_vmu,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -289,7 +289,7 @@ static int __devexit ams_delta_cleanup(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ams_delta_nand_driver = {
|
||||
.probe = ams_delta_init,
|
||||
.remove = __devexit_p(ams_delta_cleanup),
|
||||
.remove = ams_delta_cleanup,
|
||||
.driver = {
|
||||
.name = "ams-delta-nand",
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -509,7 +509,7 @@ static struct platform_driver au1550nd_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = au1550nd_probe,
|
||||
.remove = __devexit_p(au1550nd_remove),
|
||||
.remove = au1550nd_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(au1550nd_driver);
|
||||
|
||||
@@ -865,7 +865,7 @@ static int bf5xx_nand_resume(struct platform_device *dev)
|
||||
/* driver device registration */
|
||||
static struct platform_driver bf5xx_nand_driver = {
|
||||
.probe = bf5xx_nand_probe,
|
||||
.remove = __devexit_p(bf5xx_nand_remove),
|
||||
.remove = bf5xx_nand_remove,
|
||||
.suspend = bf5xx_nand_suspend,
|
||||
.resume = bf5xx_nand_resume,
|
||||
.driver = {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user