/* Returns 0 on success, a negative error code otherwise.  */
int nand_reset_op(struct nand_chip *chip)
/* Returns 0 on success, a negative error code otherwise.  */
int nand_reset_op(struct nand_chip *chip)
{
	struct mtd_info *mtd = nand_to_mtd(chip);
	chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1);
	return 0;
}