diff options
author | 2016-11-04 19:42:49 +0900 | |
---|---|---|
committer | 2016-11-07 14:48:41 +0100 | |
commit | 0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b (patch) | |
tree | 7b07d7fe5f315ec6150d289122c71d5088a7d0e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: nand: change return type of nand_get_flash_type() to int (diff) | |
download | linux-dev-0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b.tar.xz linux-dev-0d0aa866ffa45471b12c9b9c5c48cbc02dcca59b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions