]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: dac: ad3530r: #undef field_prep() before local definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:33:53 +0000 (14:33 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 24 Nov 2025 19:15:46 +0000 (14:15 -0500)
commit27856d2b2b0f259ba261a3e3e028cc75a70ae817
treeb9d59ffa406f05d0161ea512d7a1f961b329d43a
parentd1e1a7271e97bf679d355777a10fa8c0dc259b86
iio: dac: ad3530r: #undef field_prep() before local definition

Prepare for the advent of a globally available common field_prep() macro
by undefining the symbol before defining a local variant.  This prevents
redefinition warnings from the C preprocessor when introducing the common
macro later.

Suggested-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
drivers/iio/dac/ad3530r.c