Merge tag 'for-linus-20121219' of git://git.infradead.org/linux-mtd
Pull MTD updates from David Woodhouse: - Various cleanups especially in NAND tests - Add support for NAND flash on BCMA bus - DT support for sh_flctl and denali NAND drivers - Kill obsolete/superceded drivers (fortunet, nomadik_nand) - Fix JFFS2 locking bug in ENOMEM failure path - New SPI flash chips, as usual - Support writing in 'reliable mode' for DiskOnChip G4 - Debugfs support in nandsim * tag 'for-linus-20121219' of git://git.infradead.org/linux-mtd: (96 commits) mtd: nand: typo in nand_id_has_period() comments mtd: nand/gpio: use io{read,write}*_rep accessors mtd: block2mtd: throttle writes by calling balance_dirty_pages_ratelimited. mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems mtd: nand/docg4: fix and improve read of factory bbt mtd: nand/docg4: reserve bb marker area in ecclayout mtd: nand/docg4: add support for writing in reliable mode mtd: mxc_nand: reorder part_probes to let cmdline override other sources mtd: mxc_nand: fix unbalanced clk_disable() in error path mtd: nandsim: Introduce debugfs infrastructure mtd: physmap_of: error checking to prevent a NULL pointer dereference mtg: docg3: potential divide by zero in doc_write_oob() mtd: bcm47xxnflash: writing support mtd: tests/read: initialize buffer for whole next page mtd: at91: atmel_nand: return bit flips for the PMECC read_page() mtd: fix recovery after failed write-buffer operation in cfi_cmdset_0002.c mtd: nand: onfi need to be probed in 8 bits mode mtd: nand: add NAND_BUSWIDTH_AUTO to autodetect bus width mtd: nand: print flash size during detection mted: nand_wait_ready timeout fix ...
This commit is contained in:
@@ -35,7 +35,7 @@ struct onenand_info {
|
||||
struct onenand_chip onenand;
|
||||
};
|
||||
|
||||
static int __devinit generic_onenand_probe(struct platform_device *pdev)
|
||||
static int generic_onenand_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct onenand_info *info;
|
||||
struct onenand_platform_data *pdata = pdev->dev.platform_data;
|
||||
@@ -88,7 +88,7 @@ out_free_info:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit generic_onenand_remove(struct platform_device *pdev)
|
||||
static int generic_onenand_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct onenand_info *info = platform_get_drvdata(pdev);
|
||||
struct resource *res = pdev->resource;
|
||||
@@ -112,7 +112,7 @@ static struct platform_driver generic_onenand_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = generic_onenand_probe,
|
||||
.remove = __devexit_p(generic_onenand_remove),
|
||||
.remove = generic_onenand_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(generic_onenand_driver);
|
||||
|
@@ -630,7 +630,7 @@ static int omap2_onenand_disable(struct mtd_info *mtd)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devinit omap2_onenand_probe(struct platform_device *pdev)
|
||||
static int omap2_onenand_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct omap_onenand_platform_data *pdata;
|
||||
struct omap2_onenand *c;
|
||||
@@ -799,7 +799,7 @@ err_kfree:
|
||||
return r;
|
||||
}
|
||||
|
||||
static int __devexit omap2_onenand_remove(struct platform_device *pdev)
|
||||
static int omap2_onenand_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct omap2_onenand *c = dev_get_drvdata(&pdev->dev);
|
||||
|
||||
@@ -822,7 +822,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver omap2_onenand_driver = {
|
||||
.probe = omap2_onenand_probe,
|
||||
.remove = __devexit_p(omap2_onenand_remove),
|
||||
.remove = omap2_onenand_remove,
|
||||
.shutdown = omap2_onenand_shutdown,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
|
@@ -1053,7 +1053,7 @@ onenand_fail:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit s3c_onenand_remove(struct platform_device *pdev)
|
||||
static int s3c_onenand_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct mtd_info *mtd = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -1130,7 +1130,7 @@ static struct platform_driver s3c_onenand_driver = {
|
||||
},
|
||||
.id_table = s3c_onenand_driver_ids,
|
||||
.probe = s3c_onenand_probe,
|
||||
.remove = __devexit_p(s3c_onenand_remove),
|
||||
.remove = s3c_onenand_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(s3c_onenand_driver);
|
||||
|
Reference in New Issue
Block a user