mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-27 04:42:28 -05:00
mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
committed by
Artem Bityutskiy
parent
43c6871cae
commit
d80932b2dc
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user