summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-11-09 07:35:28 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-19 11:40:41 +0300
commita227d4e4c356c9be84daba80be282ec56ba46c6c (patch)
tree483225fd7298240ad71d1feb89cd17e04e3f362c /mm
parent7ebb8d06781f87f5c6c6e6bae42ab44ba0fe9012 (diff)
downloadlinux-a227d4e4c356c9be84daba80be282ec56ba46c6c.tar.xz
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 'mm')
0 files changed, 0 insertions, 0 deletions