linux-sg2042/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 mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
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 mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
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 mtd: lart: cleanup: drop HAVE_PARTITIONS 2011-09-11 15:02:05 +03:00
m25p80.c mtd: m25p80: don't probe device which has status of 'disabled' 2011-10-16 14:51:04 +03:00
ms02-nv.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: cleanup style on pr_debug messages 2011-09-11 15:02:16 +03:00
mtdram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
phram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
pmc551.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
slram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sst25l.c mtd: replace DEBUG() with pr_debug() 2011-09-11 15:02:16 +03:00