/* Release chip lock and wake up anyone waiting on the device.  */
static void nand_release_device(struct mtd_info *mtd)
/* Release chip lock and wake up anyone waiting on the device.  */
static void nand_release_device(struct mtd_info *mtd)
{
	struct nand_chip *chip = mtd_to_nand(mtd);
	chip->select_chip(mtd, -1);
}