[MTD] NAND Consolidate references and add back default name setting
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Fri, 26 May 2006 23:02:13 +0000 (01:02 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Fri, 26 May 2006 23:02:13 +0000 (01:02 +0200)
We have a type pointer. Make use of it instead of the error prone nand_ids[i]
reference.

The NAND driver used to set default name settings from the chip ID
string for the device. The feature got lost during the rework. Add it back.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found