]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NOR] Intel: remove ugly PROGREGION macros
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Jan 2007 08:45:55 +0000 (10:45 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:26:37 +0000 (15:26 +0000)
commitd416085572eb6a44fd2cf29fd7aed83ffc95fd88
treeaf94b7823ede57c0590c6ea42b6e94e037ecab41
parent992c9d24c417afce9792da18f8e664c6b9802c5c
[MTD] [NOR] Intel: remove ugly PROGREGION macros

Remove ugly and weird MTD_PROGREGION_CTRLMODE_VALID() and
MTD_PROGREGION_CTRLMODE_INVALID() macros. There is only one
user of them and they are used locally just for printing.

Anyway, this patch is a preparation for removing mtd->ecctype
and mtd->eccsize, but these macros use them. Fix this.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c
include/linux/mtd/mtd.h