del_mtd_partitions(info->mtd);  
if (info->nr_parts == 0) del_mtd_device(info->mtd); #ifdef CONFIG_MTD_PARTITIONS else del_mtd_partitions(info->mtd); #endif 
static void sa1100_destroy(struct sa_info *info, struct flash_platform_data *plat){	int i;	if (info->mtd) {		del_mtd_partitions(info->mtd);#ifdef CONFIG_MTD_CONCAT		if (info->mtd != info->subdev[0].mtd)			mtd_concat_destroy(info->mtd);#endif	}	if (info->parts)		kfree(info->parts);	for (i = info->num_subdev - 1; i >= 0; i--)		sa1100_destroy_subdev(&info->subdev[i]);	kfree(info);	if (plat->exit)		plat->exit();}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/822e5e72697ce06e4425c17d161b0482c7d9b6d4/sa1100-flash.c/clean/drivers/mtd/maps/sa1100-flash.c