commit | 0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Nov 04 19:42:49 2016 +0900 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Nov 07 14:48:41 2016 +0100 |
tree | 7b07d7fe5f315ec6150d289122c71d5088a7d0e4 | |
parent | 4722c0e958e636226100f37cd6d17ac09b695827 [diff] |
mtd: nand: ams-delta: 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>