linux/drivers/mtd/devices
Mike Frysinger 64da392ab0 phram: cleanup error handling and associated messages
The error handling in the phram driver is pretty bad -- in many places,
errors are silently ignored or logged, but then still ignored in the
return value.  So convert all of the code to pass back the correct return
value and log error messages properly (and using the new pr_fmt() helper).

If everything does go smoothly, rather than exit silently, dump a helpful
info message like pretty much every other MTD driver does.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Joern Engel <joern@logfs.org>

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-09-19 13:11:12 -07:00
..
Kconfig mtd: SST25L (non JEDEC) SPI Flash driver 2009-09-19 10:54:45 -07:00
Makefile mtd: SST25L (non JEDEC) SPI Flash driver 2009-09-19 10:54:45 -07:00
block2mtd.c [PATCH] propagate mode through open_bdev_excl/close_bdev_excl 2008-10-21 07:49:00 -04:00
doc2000.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
doc2001.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
doc2001plus.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
docecc.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
docprobe.c [MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers 2008-07-11 18:21:54 +01:00
lart.c mtd: lart: Prevent a read from mtd->eraseregions[-1] 2009-09-19 11:18:15 -07:00
m25p80.c mtd: m25p80: add SST WF SPI flash device information 2009-09-19 13:10:32 -07:00
ms02-nv.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: correct typo "MTD_DATAFLASH_VERIFY_WRITE" 2009-09-04 09:38:55 +01:00
mtdram.c NOMMU: Present backing device capabilities for MTD chardevs 2009-03-24 09:00:19 +00:00
phram.c phram: cleanup error handling and associated messages 2009-09-19 13:11:12 -07:00
pmc551.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
slram.c slram: Read buffer overflow 2009-09-04 09:40:09 +01:00
sst25l.c mtd: sst25l, fix lock imbalance 2009-09-19 10:56:53 -07:00