diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-19 15:47:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-19 15:47:41 -0500 |
commit | ca2a88f56aa385890c7fd4ce9d2722b0848ca990 (patch) | |
tree | 935fd9cec938677d6529db203f24d803ed5f0b19 /drivers/mtd/onenand | |
parent | 3935e89505a1c3ab3f3b0c7ef0eae54124f48905 (diff) | |
parent | d4d4f1bf6a343b25220fdcdf559fd593dd3e25a7 (diff) |
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
...
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/generic.c | 6 | ||||
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 6 | ||||
-rw-r--r-- | drivers/mtd/onenand/samsung.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 1c4f97c63e62..9f11562f849d 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -35,7 +35,7 @@ struct onenand_info { | |||
35 | struct onenand_chip onenand; | 35 | struct onenand_chip onenand; |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static int __devinit generic_onenand_probe(struct platform_device *pdev) | 38 | static int generic_onenand_probe(struct platform_device *pdev) |
39 | { | 39 | { |
40 | struct onenand_info *info; | 40 | struct onenand_info *info; |
41 | struct onenand_platform_data *pdata = pdev->dev.platform_data; | 41 | struct onenand_platform_data *pdata = pdev->dev.platform_data; |
@@ -88,7 +88,7 @@ out_free_info: | |||
88 | return err; | 88 | return err; |
89 | } | 89 | } |
90 | 90 | ||
91 | static int __devexit generic_onenand_remove(struct platform_device *pdev) | 91 | static int generic_onenand_remove(struct platform_device *pdev) |
92 | { | 92 | { |
93 | struct onenand_info *info = platform_get_drvdata(pdev); | 93 | struct onenand_info *info = platform_get_drvdata(pdev); |
94 | struct resource *res = pdev->resource; | 94 | struct resource *res = pdev->resource; |
@@ -112,7 +112,7 @@ static struct platform_driver generic_onenand_driver = { | |||
112 | .owner = THIS_MODULE, | 112 | .owner = THIS_MODULE, |
113 | }, | 113 | }, |
114 | .probe = generic_onenand_probe, | 114 | .probe = generic_onenand_probe, |
115 | .remove = __devexit_p(generic_onenand_remove), | 115 | .remove = generic_onenand_remove, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | module_platform_driver(generic_onenand_driver); | 118 | module_platform_driver(generic_onenand_driver); |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 00cd3da29435..065f3fe02a2f 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -630,7 +630,7 @@ static int omap2_onenand_disable(struct mtd_info *mtd) | |||
630 | return ret; | 630 | return ret; |
631 | } | 631 | } |
632 | 632 | ||
633 | static int __devinit omap2_onenand_probe(struct platform_device *pdev) | 633 | static int omap2_onenand_probe(struct platform_device *pdev) |
634 | { | 634 | { |
635 | struct omap_onenand_platform_data *pdata; | 635 | struct omap_onenand_platform_data *pdata; |
636 | struct omap2_onenand *c; | 636 | struct omap2_onenand *c; |
@@ -799,7 +799,7 @@ err_kfree: | |||
799 | return r; | 799 | return r; |
800 | } | 800 | } |
801 | 801 | ||
802 | static int __devexit omap2_onenand_remove(struct platform_device *pdev) | 802 | static int omap2_onenand_remove(struct platform_device *pdev) |
803 | { | 803 | { |
804 | struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); | 804 | struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); |
805 | 805 | ||
@@ -822,7 +822,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) | |||
822 | 822 | ||
823 | static struct platform_driver omap2_onenand_driver = { | 823 | static struct platform_driver omap2_onenand_driver = { |
824 | .probe = omap2_onenand_probe, | 824 | .probe = omap2_onenand_probe, |
825 | .remove = __devexit_p(omap2_onenand_remove), | 825 | .remove = omap2_onenand_remove, |
826 | .shutdown = omap2_onenand_shutdown, | 826 | .shutdown = omap2_onenand_shutdown, |
827 | .driver = { | 827 | .driver = { |
828 | .name = DRIVER_NAME, | 828 | .name = DRIVER_NAME, |
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c index 8e4b3f2742ba..33f2a8fb8df9 100644 --- a/drivers/mtd/onenand/samsung.c +++ b/drivers/mtd/onenand/samsung.c | |||
@@ -1053,7 +1053,7 @@ onenand_fail: | |||
1053 | return err; | 1053 | return err; |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | static int __devexit s3c_onenand_remove(struct platform_device *pdev) | 1056 | static int s3c_onenand_remove(struct platform_device *pdev) |
1057 | { | 1057 | { |
1058 | struct mtd_info *mtd = platform_get_drvdata(pdev); | 1058 | struct mtd_info *mtd = platform_get_drvdata(pdev); |
1059 | 1059 | ||
@@ -1130,7 +1130,7 @@ static struct platform_driver s3c_onenand_driver = { | |||
1130 | }, | 1130 | }, |
1131 | .id_table = s3c_onenand_driver_ids, | 1131 | .id_table = s3c_onenand_driver_ids, |
1132 | .probe = s3c_onenand_probe, | 1132 | .probe = s3c_onenand_probe, |
1133 | .remove = __devexit_p(s3c_onenand_remove), | 1133 | .remove = s3c_onenand_remove, |
1134 | }; | 1134 | }; |
1135 | 1135 | ||
1136 | module_platform_driver(s3c_onenand_driver); | 1136 | module_platform_driver(s3c_onenand_driver); |