mtd: tests: incorporate error message for mtdtest_write()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 15 Aug 2013 13:55:09 +0000 (22:55 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:36:06 +0000 (21:36 +0100)
commit8a9f4aa3ac7560efcb242b3d1a31b1d804106f12
treeac105da51b1987e3b6894fb6b1bd73a6765c3ca3
parentabc173ad84e50645f9136ea56afa9f86c98bf349
mtd: tests: incorporate error message for mtdtest_write()

All callers of mtdtest_write() print the same error message on failure.
This incorporates the error message to mtdtest_write() and removes them
from the callers.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/mtd_test.c
drivers/mtd/tests/nandbiterrs.c
drivers/mtd/tests/pagetest.c
drivers/mtd/tests/speedtest.c
drivers/mtd/tests/stresstest.c