diff options
author | Todd Poynor <tpoynor@mvista.com> | 2005-08-02 22:36:09 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-08-04 12:52:09 +0200 |
commit | 1da2c9a638f8af7be3daf1fa8dbd087b3284d16e (patch) | |
tree | 6a19cb3ae7b28fa0f71c1020bb4c076a53595df8 /drivers/mtd/mtdchar.c | |
parent | [MTD] mtd_blkdevs.c: Fix names when many devices/partitions are created (diff) | |
download | linux-1da2c9a638f8af7be3daf1fa8dbd087b3284d16e.tar.xz linux-1da2c9a638f8af7be3daf1fa8dbd087b3284d16e.zip |
[MTD] Pre-CFI Sharp chip driver: Some speedups and cleanups
Remove useless udelay(100) after status value already read. Poll
for status OK with reduced udelay if not immediate OK status return.
Fix read and compare of 32-bit status value using 16-bit variable.
Include slab.h since kmalloc/kfree are called.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions