[MTD] slram driver cleanup
authorJosh Boyer <jdub@us.ibm.com>
Thu, 6 Jan 2005 21:16:45 +0000 (21:16 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 09:16:56 +0000 (11:16 +0200)
commit14f8351a313f364afbc565f1ddcd43f8cfdccf52
treed7c9833120901274c32a85d58b32d0f4f11aa5d2
parent49a43876b935c811cfd29d8fe998a6912a1cc5c4
[MTD] slram driver cleanup

Add error checks to read/write functions and add an eraseblock size.
Makes slram a suitable device for JFFS2.

Signed-off-by: Josh Boyer <jdub@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/devices/slram.c