diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 14:49:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 14:49:21 -0400 |
commit | e8a89cebdbaab14caaa26debdb4ffd493b8831af (patch) | |
tree | e0843f082628408ce259c72db36da54dff603987 /drivers/mtd/maps/physmap_of.c | |
parent | 8196867c74890ccdf40a2b5e3e173597fbc4f9ac (diff) | |
parent | 6ae0185fe201eae0548dace2a84acb5050fc8606 (diff) |
Merge git://git.infradead.org/mtd-2.6
* git://git.infradead.org/mtd-2.6: (79 commits)
mtd: Remove obsolete <mtd/compatmac.h> include
mtd: Update copyright notices
jffs2: Update copyright notices
mtd-physmap: add support users can assign the probe type in board files
mtd: remove redwood map driver
mxc_nand: Add v3 (i.MX51) Support
mxc_nand: support 8bit ecc
mxc_nand: fix correct_data function
mxc_nand: add V1_V2 namespace to registers
mxc_nand: factor out a check_int function
mxc_nand: make some internally used functions overwriteable
mxc_nand: rework get_dev_status
mxc_nand: remove 0xe00 offset from registers
mtd: denali: Add multi connected NAND support
mtd: denali: Remove set_ecc_config function
mtd: denali: Remove unuseful code in get_xx_nand_para functions
mtd: denali: Remove device_info_tag structure
mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip
mtd: m25p80: add support for the Intel/Numonyx {16,32,64}0S33B SPI flash chips
mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
...
Fix up trivial conflicts in drivers/mtd/maps/{Kconfig,redwood.c} due to
redwood driver removal.
Diffstat (limited to 'drivers/mtd/maps/physmap_of.c')
-rw-r--r-- | drivers/mtd/maps/physmap_of.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index ba124baa646d..6ac5f9f28ac3 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c | |||
@@ -353,7 +353,7 @@ static int __devinit of_flash_probe(struct of_device *dev, | |||
353 | &info->parts, 0); | 353 | &info->parts, 0); |
354 | if (err < 0) { | 354 | if (err < 0) { |
355 | of_free_probes(part_probe_types); | 355 | of_free_probes(part_probe_types); |
356 | return err; | 356 | goto err_out; |
357 | } | 357 | } |
358 | of_free_probes(part_probe_types); | 358 | of_free_probes(part_probe_types); |
359 | 359 | ||
@@ -361,14 +361,14 @@ static int __devinit of_flash_probe(struct of_device *dev, | |||
361 | if (err == 0) { | 361 | if (err == 0) { |
362 | err = of_mtd_parse_partitions(&dev->dev, dp, &info->parts); | 362 | err = of_mtd_parse_partitions(&dev->dev, dp, &info->parts); |
363 | if (err < 0) | 363 | if (err < 0) |
364 | return err; | 364 | goto err_out; |
365 | } | 365 | } |
366 | #endif | 366 | #endif |
367 | 367 | ||
368 | if (err == 0) { | 368 | if (err == 0) { |
369 | err = parse_obsolete_partitions(dev, info, dp); | 369 | err = parse_obsolete_partitions(dev, info, dp); |
370 | if (err < 0) | 370 | if (err < 0) |
371 | return err; | 371 | goto err_out; |
372 | } | 372 | } |
373 | 373 | ||
374 | if (err > 0) | 374 | if (err > 0) |