diff options
author | Masahiro Yamada <[email protected]> | 2016-11-04 19:42:54 +0900 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2016-11-07 14:48:44 +0100 |
commit | 43358c173d02446b9f8da25fb0de8cfc22eb1ae6 (patch) | |
tree | eabe8f7986bca473b6f47d5230216bcd7958c1aa /tools/perf/scripts/python | |
parent | bbd4d03c56083069cf0808681bd301cf31701fbd (diff) |
mtd: nand: tmio: 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 -ENODEV.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions