mtd: nand: sunxi: rework macros
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 16 Sep 2015 07:46:36 +0000 (09:46 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 30 Sep 2015 18:24:17 +0000 (11:24 -0700)
commitb6a02c0847f80968869bea57824f00fa395057a0
tree338d36dbd9e8b0978b9fa853178f4485f6f81ad6
parent0c00a36d93ebeb7b62923d91075c26cf2f63e1bc
mtd: nand: sunxi: rework macros

Suffix mask macros with _MSK and add new helper macros to avoid manually
shifting values.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/sunxi_nand.c