]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mtd_readtest: use mtd_test helpers
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 3 Aug 2013 09:52:11 +0000 (18:52 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:18 +0000 (21:34 +0100)
commit707d184949e39f4028c662f63f94c7d0cf653a31
tree5ae7296f62750375c2dded9d348914a8b2b33e72
parentf8fc8aa745a2f6bea6ddadee7faaceb23a6ed0a1
mtd: mtd_readtest: use mtd_test helpers

Use mtdtest_read() and mtdtest_scan_for_bad_eraseblocks() in mtd_test
helpers.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Vikram Narayanan <vikram186@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/readtest.c