]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:23 +0000 (21:34 +0100)
commitb488c59dd3ee9618a4e9f02ab1d0f35c2b769c53
treee4e62f37d832730d14f3b824cc75f6ba5d0b9c16
parent97061c11f0cb094f5d0a0061f4c452b8823e6afa
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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/subpagetest.c