/* This function destroys an MTD object obtained from concat_mtd_devs()  */
void mtd_concat_destroy(struct mtd_info *mtd)
/* This function destroys an MTD object obtained from concat_mtd_devs()  */
void mtd_concat_destroy(struct mtd_info *mtd)
{
	struct mtd_concat *concat = CONCAT(mtd);
	if (concat->mtd.numeraseregions)
		kfree(concat->mtd.eraseregions);
	kfree(concat);
}