kernel-hacking-2024-linux-s.../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
..
block2mtd.c
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
Kconfig mtd: SST25L (non JEDEC) SPI Flash driver 2009-09-19 10:54:45 -07: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
Makefile mtd: SST25L (non JEDEC) SPI Flash driver 2009-09-19 10:54:45 -07:00
ms02-nv.c
ms02-nv.h
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
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