diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-04 19:42:51 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-07 14:48:42 +0100 |
commit | 29453ba40bb5e91dcaa9b571208da1c1e75e63f1 (patch) | |
tree | b3eeb1e2b1b8d4f26d878428f92a144cc42421a6 /drivers/mtd/Kconfig | |
parent | 546fe03fe349fd79df28ed8fed5efb1357110e28 (diff) |
mtd: nand: cs553x: return error code of nand_scan() on error
The nand_scan() returns an appropriate error value when it fails.
Use it instead of the fixed error code -ENXIO.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
0 files changed, 0 insertions, 0 deletions