From: Axel Lin Date: Fri, 3 Jun 2011 05:15:30 +0000 (+0800) Subject: mtd: fsmc_nand: fix a memory leak X-Git-Tag: v3.2-rc1~14^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e023ab4e144da7f83fe7e6c93a09be2f30ff07;p=pandora-kernel.git mtd: fsmc_nand: fix a memory leak In fsmc_nand_remove, we should call nand_release instead of mtd_device_unregister to properly free bad block table memory and bad block descriptor memory. Signed-off-by: Axel Lin Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed