Re: [PATCH v6 06/26] iio: mlx90614: #undef field_{get,prep}() before local definition
From: Jonathan Cameron
Date: Sun Nov 09 2025 - 08:36:05 EST
On Thu, 6 Nov 2025 14:33:54 +0100
Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
> Prepare for the advent of globally available common field_get() and
> field_prep() macros by undefining the symbols before defining local
> variants. This prevents redefinition warnings from the C preprocessor
> when introducing the common macros later.
>
> Suggested-by: Yury Norov <yury.norov@xxxxxxxxx>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Acked-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>