/* Basically undoes what has been done in nanddev_init().  */
void nanddev_cleanup(struct nand_device *nand)
/* Basically undoes what has been done in nanddev_init().  */
void nanddev_cleanup(struct nand_device *nand)
{
	if (nanddev_bbt_is_initialized(nand))
		nanddev_bbt_cleanup(nand);
}