[generic] get chip for selected access
int nand_get_device(struct mtd_info * mtd, int new_state);
mtd
MTD device structure
new_state
the state which is requested
Get the device and lock it for exclusive access
Thomas Gleixner <[email protected]>
Author.