From: Geert Uytterhoeven Date: Thu, 6 Nov 2025 13:34:09 +0000 (+0100) Subject: soc: renesas: rz-sysc: Convert to common field_get() helper X-Git-Tag: v6.19-rc1~87^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=610c4408a2f7a09a00f656459e762ee1e21bbd7b;p=thirdparty%2Fkernel%2Flinux.git soc: renesas: rz-sysc: Convert to common field_get() helper Drop the driver-specific field_get() macro, in favor of the globally available variant from . Signed-off-by: Geert Uytterhoeven Reviewed-by: Claudiu Beznea Signed-off-by: Yury Norov (NVIDIA) --- diff --git a/drivers/soc/renesas/rz-sysc.c b/drivers/soc/renesas/rz-sysc.c index b9880085d3634..73eaf8b9d69f7 100644 --- a/drivers/soc/renesas/rz-sysc.c +++ b/drivers/soc/renesas/rz-sysc.c @@ -5,6 +5,7 @@ * Copyright (C) 2024 Renesas Electronics Corp. */ +#include #include #include #include @@ -16,9 +17,6 @@ #include "rz-sysc.h" -#undef field_get -#define field_get(_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1)) - /** * struct rz_sysc - RZ SYSC private data structure * @base: SYSC base address