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

Use 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/subpagetest.c