summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-11-09 13:35:28 +0900
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-19 09:40:41 +0100
commita227d4e4c356c9be84daba80be282ec56ba46c6c (patch)
tree483225fd7298240ad71d1feb89cd17e04e3f362c /drivers/mtd/nand/r852.h
parent7ebb8d06781f87f5c6c6e6bae42ab44ba0fe9012 (diff)
downloadtalos-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/r852.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud