diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-04 19:42:49 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-07 14:48:41 +0100 |
commit | 0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b (patch) | |
tree | 7b07d7fe5f315ec6150d289122c71d5088a7d0e4 /drivers/bcma | |
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>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions