summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/mtk_nand.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@free-electrons.com>2017-11-30 18:01:28 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-12-01 09:45:30 +0100
commiteb94555e9e97c9983461214046b4d72c4ab4ba70 (patch)
tree893c38b87729a5ff36f9badf7443ca5ae7d564be /drivers/mtd/nand/mtk_nand.c
parentmtd: nand: denali: rename misleading dma_buf to tmp_buf (diff)
downloadlinux-eb94555e9e97c9983461214046b4d72c4ab4ba70.tar.xz
linux-eb94555e9e97c9983461214046b4d72c4ab4ba70.zip
mtd: nand: use usual return values for the ->erase() hook
Avoid using specific defined values for checking returned status of the ->erase() hook. Instead, use usual negative error values on failure, zero otherwise. Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/mtk_nand.c')
0 files changed, 0 insertions, 0 deletions