linux-stable-rt/drivers/mtd/devices
Paul Bolle 6be55f79a2 mtd: clean up usage of MTD_DOCPROBE_ADDRESS
Depending on whether MTD_DOCPROBE_ADVANCED is set or not,
MTD_DOCPROBE_ADDRESS will default to either 0x0000 or 0. That should
lead to (basically) identical code in docprobe.c. The current two
defaults should be merged.

And, while we're at it, if MTD_DOCPROBE is set MTD_DOCPROBE_ADDRESS will
always be set. (MTD_DOCPROBE_ADDRESS depends on MTD_DOCPROBE and it has
a default value.) So the check whether CONFIG_MTD_DOCPROBE_ADDRESS is
defined is unnecessary and should be dropped.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2011-10-30 14:22:36 +02:00
..
Kconfig mtd: clean up usage of MTD_DOCPROBE_ADDRESS 2011-10-30 14:22:36 +02:00
Makefile mtd: Add DiskOnChip G3 support 2011-10-14 12:03:47 +03:00
block2mtd.c
doc2000.c mtd: rename MTD_OOB_* to MTD_OPS_* 2011-09-11 15:28:59 +03:00
doc2001.c mtd: rename MTD_OOB_* to MTD_OPS_* 2011-09-11 15:28:59 +03:00
doc2001plus.c mtd: rename MTD_OOB_* to MTD_OPS_* 2011-09-11 15:28:59 +03:00
docecc.c
docg3.c mtd: Add DiskOnChip G3 support 2011-10-14 12:03:47 +03:00
docg3.h mtd: Add DiskOnChip G3 support 2011-10-14 12:03:47 +03:00
docprobe.c mtd: clean up usage of MTD_DOCPROBE_ADDRESS 2011-10-30 14:22:36 +02:00
lart.c
m25p80.c mtd: m25p80: don't probe device which has status of 'disabled' 2011-10-16 14:51:04 +03:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c mtd: cleanup style on pr_debug messages 2011-09-11 15:02:16 +03:00
mtdram.c
phram.c
pmc551.c
slram.c
sst25l.c