[PATCH 27/39] mtd: nand: denali: do not set mtd->name

From: Masahiro Yamada
Date: Sat Nov 26 2016 - 13:12:43 EST


This will be filled by nand_scan_ident() later.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

drivers/mtd/nand/denali.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 0f94381b..60b0858 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1509,7 +1509,6 @@ int denali_init(struct denali_nand_info *denali)

/* now that our ISR is registered, we can enable interrupts */
denali_set_intr_modes(denali, true);
- mtd->name = "denali-nand";
nand_set_flash_node(chip, denali->dev->of_node);

/* register the driver with the NAND core subsystem */
--
2.7.4