Axel Lin 1a3591920e mtd: pxa3xx_nand: fix a memory leak
In pxa3xx_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 <axel.lin@gmail.com>
Acked-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-09-11 15:01:59 +03:00
..
2009-10-20 10:07:23 +09:00
2011-05-25 02:25:35 +01:00
2011-09-11 15:01:58 +03:00
2009-10-20 10:07:23 +09:00
2010-10-24 23:38:30 +01:00
2011-09-11 15:01:56 +03:00
2011-03-31 11:26:23 -03:00
2011-09-11 15:01:56 +03:00