Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0d218c8 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Boris Brezillon
Browse files

mtd: nand: fsmc: remove duplicate nand_set_flash_node()



It is already done a few lines before.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent ede29a02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -947,7 +947,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);

	switch (host->mode) {
	case USE_DMA_ACCESS: