[generic] get chip for selected access
void panic_nand_get_device(struct nand_chip * chip, struct mtd_info * mtd, int new_state);
chip
the nand chip descriptor
mtd
MTD device structure
new_state
the state which is requested
Used when in panic, no locks are taken.
Thomas Gleixner <[email protected]>
Author.