]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: mtd_oobtest: use mtd_test helpers
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 3 Aug 2013 09:52:09 +0000 (18:52 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:15 +0000 (21:34 +0100)
commit4bf527aa5312655d478a49f545a355ee9e76175d
tree03a883104b60a8d56f4a7d546820fd1e631663af
parenta995c792280db558f994c253c1c3c3a55977d529
mtd: mtd_oobtest: use mtd_test helpers

Use mtdtest_scan_for_bad_eraseblocks(), mtdtest_erase_good_eraseblocks(),
and mtdtest_erase_eraseblock() 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/oobtest.c