mtd: nand: fsmc: remove unused definitions
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed May 10 19:59:08 PDT 2017
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=77cc88d2b9848bac16c32c01eebf45f060f81f45
Commit: 77cc88d2b9848bac16c32c01eebf45f060f81f45
Parent: fb8ed2ca432443ef1898aad7501c6e63c5c94f8e
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
AuthorDate: Tue Mar 21 11:04:04 2017 +0100
Committer: Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Thu Mar 23 11:11:38 2017 +0100
mtd: nand: fsmc: remove unused definitions
These definitions are not used anywhere in the driver, so remove them.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
drivers/mtd/nand/fsmc_nand.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index f611eb0..e35cabb 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -38,15 +38,6 @@
#include <linux/amba/bus.h>
#include <mtd/mtd-abi.h>
-#define FSMC_NAND_BW8 1
-#define FSMC_NAND_BW16 2
-
-#define FSMC_MAX_NOR_BANKS 4
-#define FSMC_MAX_NAND_BANKS 4
-
-#define FSMC_FLASH_WIDTH8 1
-#define FSMC_FLASH_WIDTH16 2
-
/* fsmc controller registers for NOR flash */
#define CTRL 0x0
/* ctrl register definitions */
More information about the linux-mtd-cvs
mailing list