[Linux-stm32] [PATCH v2 08/12] mtd: rawnand: stm32_fmc2: use FIELD_PREP/FIELD_GET macros

Boris Brezillon boris.brezillon at collabora.com
Thu Apr 16 19:45:13 UTC 2020


On Wed, 15 Apr 2020 17:57:32 +0200
Christophe Kerello <christophe.kerello at st.com> wrote:

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

Oh, nice. I didn't know about these macros. This could have saved me
from defining a whole bunch of setters/getters in driver code...





More information about the Linux-stm32 mailing list