]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: cafe: clean up DMA address setup
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 5 Dec 2017 08:49:56 +0000 (17:49 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 14 Dec 2017 12:34:20 +0000 (13:34 +0100)
commit1603432a187f32fab3dfd30e600c1a8227f74316
tree2b374e3fc0ca53744e962c8e0a31ee33b8a0660b
parent8ba6a107654318dbbd2fb5a56ae61ed59ab2b95f
mtd: nand: cafe: clean up DMA address setup

Use macros from <linux/kernel.h> to make the code readable.
The compiler warning will be kept suppressed.

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