Commit d80932b2 authored by Axel Lin's avatar Axel Lin Committed by Artem Bityutskiy
Browse files

mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove

parent 43c6871c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -187,6 +187,7 @@ static int nomadik_nand_remove(struct platform_device *pdev)
		pdata->exit();

	if (host) {
		nand_release(&host->mtd);
		iounmap(host->cmd_va);
		iounmap(host->data_va);
		iounmap(host->addr_va);