]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5d1bea29a3c490bcd54524bc5eea8870272df486
tree9f01452bb883ddcbd2ef1047638f9aeefeb4c89f
parent3b598cb06eea6d46a2d58af71ddc6820f5c563df
[MTD] NAND Consolidate references and add back default name setting

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>
drivers/mtd/nand/nand_base.c