[PATCH 09/13] mtd: nand: fsmc: remove duplicate nand_set_flash_node()

Thomas Petazzoni
2017-03-21T10:05:20Z

It is already done a few lines before.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
drivers/mtd/nand/fsmc_nand.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index 8342c39..990c83a 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -1024,7 +1024,6 @@ static int __init fsmc_nand_probe(struct platform_device *pdev)
nand->ecc.size = 512;
nand->options = pdata->options;
nand->badblockbits = 7;
- nand_set_flash_node(nand, np);
nand->setup_data_interface = fsmc_setup_data_interface;

switch (host->mode) {
--
2.7.4