[MTD] mtdchar: Return the real error code when create_class() failed
commit3a7a882420d378b59542a048075e40428c771a12
authorCoywolf Qi Hunt <coywolf@sosdg.org>
Mon, 4 Jul 2005 17:15:28 +0000 (4 12:15 -0500)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 4 Jul 2005 18:49:54 +0000 (4 20:49 +0200)
tree98b157a507ee763a78d60af22c67bf818ef0ef2c
parent9bc7b38731dd1cc1635ab12f8de48866f603b06e
[MTD] mtdchar: Return the real error code when create_class() failed

Signed-off-by: Coywolf Qi Hunt <coywolf@sosdg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/mtdchar.c