mtd: nand: denali: rename misleading dma_buf to tmp_buf
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 23 Nov 2017 13:32:28 +0000 (22:32 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 30 Nov 2017 21:32:50 +0000 (22:32 +0100)
commit8a8c8ba1c8a65522f07fd3ccbae94712c471e683
tree719c2db4d631ed2b350880f9f8eade19ac4f200f
parentc9e916a4b462104cdd463b8749cf1345f3ad0577
mtd: nand: denali: rename misleading dma_buf to tmp_buf

The "dma_buf" is not used for a DMA bounce buffer, but for arranging
the transferred data for the syndrome page layout.  In fact, it is
used in the PIO mode as well, so "dma_buf" is a misleading name.
Rename it to "tmp_buf".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c