]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: denali: use BIT() and GENMASK() for register macros
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 5 Jun 2017 23:21:41 +0000 (08:21 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 10 Jun 2017 10:09:29 +0000 (12:09 +0200)
commitdf8b97024e6d28e98066696619e2084bbda4e40e
treedb09def71204563ddfdf3f6cb1c35083c0dfa759
parent2b8c92b4e7265e271cd070a1a5dd1ab2766e516b
mtd: nand: denali: use BIT() and GENMASK() for register macros

Use BIT() and GENMASK() for register field macros.  This will make
it easier to compare the macros with the register description in the
Denali User's Guide.

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