mtd: rawnand: stm32_fmc2: use FIELD_PREP/FIELD_GET macros
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 31 Jul 2020 07:53:38 +0000 (09:53 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:53:34 +0000 (09:53 +0200)
commit158f2d44a7ec838380459c5e39100c116f80d79c
tree6ce33bf31d8f7f66470378a255270a59963bd362
parent7a6b328841b370c48f590b5e51e633154b21e751
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: Patrice Chotard <patrice.chotard@st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c