]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9882f6dbd1a9b1d893c0d1093c038af0bbeca1ab
tree719c2db4d631ed2b350880f9f8eade19ac4f200f
parent96fa3e21e0a7bddad52d086a4bf5ef5088c6b08d
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