diff options
author | 2016-11-04 19:42:57 +0900 | |
---|---|---|
committer | 2016-11-07 14:48:45 +0100 | |
commit | ce2eaca7ebf13006cb992ed2f8ce46aaf8724c71 (patch) | |
tree | 80bab8f2ecbbfcb11dcb41bea3158de2a21b15c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: nand: pasemi: return error code of nand_scan() on error (diff) | |
download | wireguard-linux-ce2eaca7ebf13006cb992ed2f8ce46aaf8724c71.tar.xz wireguard-linux-ce2eaca7ebf13006cb992ed2f8ce46aaf8724c71.zip |
mtd: nand: plat_nand: 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions