mtd: Few follow up cleanups for Smartmedia/xD support
authorMaxim Levitsky <maximlevitsky@gmail.com>
Fri, 26 Feb 2010 20:08:40 +0000 (22:08 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 20:13:49 +0000 (20:13 +0000)
commit133fa8c7d70d16b07db3a3d87ea18291db8f8ebf
tree0a5a8ab311a46dbfd8cb3f90dce98adafc6c8473
parent67e054e919248fa1db93de727fb9ad49eb700642
mtd: Few follow up cleanups for Smartmedia/xD support

* Test results of few functions that were declared with __must_check
* Fix bogus gcc warning about uinitialized variable 'ret'
* Remove unused variable from mtdblock_remove_dev
* Don't use deprecated DMA_32BIT_MASK

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtdblock.c
drivers/mtd/nand/r852.c
drivers/mtd/sm_ftl.c