]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mtd_pagetest: use mtd_test helpers
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 3 Aug 2013 09:52:10 +0000 (18:52 +0900)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 6 Aug 2013 14:02:43 +0000 (17:02 +0300)
commitb61af7e690120f271470db8017d81a320ad6d24e
tree09a682c18da8ddbb0328456a6a817481e4cd2dbe
parentb18bb85d2fe94cc4f6c6b1f1f131e10fa60007a8
mtd: mtd_pagetest: use mtd_test helpers

Use mtdtest_write(), mtdtest_read(), mtdtest_erase_eraseblock(),
mtdtest_scan_for_bad_eraseblocks(), and mtdtest_erase_good_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>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/tests/pagetest.c