diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-09 13:35:28 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-19 09:40:41 +0100 |
commit | a227d4e4c356c9be84daba80be282ec56ba46c6c (patch) | |
tree | 483225fd7298240ad71d1feb89cd17e04e3f362c /drivers/mtd/nand/socrates_nand.c | |
parent | 7ebb8d06781f87f5c6c6e6bae42ab44ba0fe9012 (diff) | |
download | talos-obmc-linux-a227d4e4c356c9be84daba80be282ec56ba46c6c.tar.gz talos-obmc-linux-a227d4e4c356c9be84daba80be282ec56ba46c6c.zip |
mtd: nand: denali: return error code from nand_scan_ident/tail on error
The nand_scan_ident/tail() returns an appropriate error value when
it fails. Use it instead of the fixed -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/nand/socrates_nand.c')
0 files changed, 0 insertions, 0 deletions