mtd: rawnand: stm32_fmc2: use FIELD_PREP/FIELD_GET macros
authorChristophe Kerello <christophe.kerello@st.com>
Tue, 12 May 2020 11:47:48 +0000 (13:47 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 24 May 2020 18:29:26 +0000 (20:29 +0200)
commit699d3e6a87d1ea37cb47343fa54f074a9e0a2391
treee3b4d8ca10cf85d85922f9b0170431681613161e
parent743f05572e7f81dcccfecf454bc7d9e10edbbaca
mtd: rawnand: stm32_fmc2: use FIELD_PREP/FIELD_GET macros

This patch removes custom macros and uses FIELD_PREP and FIELD_GET macros.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1589284068-4079-3-git-send-email-christophe.kerello@st.com
drivers/mtd/nand/raw/stm32_fmc2_nand.c