From nobody Mon Feb 9 16:53:52 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34CEA32E13F; Mon, 27 Oct 2025 18:45:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590708; cv=none; b=UvN30cRXf0IaCoMUsKH8iEDLbZpYifOfy0NqFvxp9Z648UHrUic1mtbF/I/sDJEnmhXWhz2T9ln/5YTW1mDTbJgf+82jNiHrrvsQfCIju+w644hoTxZiZk4UrWnKPEXLOOrvAt1+mUXHBLonzQEEK2eU6NUNrj0HaCQZlX/z6aA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590708; c=relaxed/simple; bh=v+sQfluB1xzcTuPN5tDocRIzwHGhrbFIE1ukWWWoATs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uPw1VkDVZN0yORJxMFgXNiEntvlxjM3uoDwLfQNdX1uFi8324NQZpATdkT0eqLKLuwIq/3s/dtKyUnqvOdK0MEAo6xdKhsPQmZGwpodt2Kj3oNZ3/aQ994tBysMYV5j4HsB3pXMEU/Q7cugc0qfA9cL1oYTB/JuD6OP//wuiMbQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A559C4CEFD; Mon, 27 Oct 2025 18:44:59 +0000 (UTC) From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Giovanni Cabiddu , Herbert Xu , David Miller , Linus Walleij , Bartosz Golaszewski , Joel Stanley , Andrew Jeffery , Crt Mori , Jonathan Cameron , Lars-Peter Clausen , Jacky Huang , Shan-Chun Hung , Yury Norov , Rasmus Villemoes , Jaroslav Kysela , Takashi Iwai , Johannes Berg , Jakub Kicinski , Alex Elder , David Laight , Vincent Mailhol , Jason Baron , Borislav Petkov , Tony Luck , Michael Hennerich , Kim Seer Paller , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Richard Genoud , Cosmin Tanislav , Biju Das , Jianping Shen Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-edac@vger.kernel.org, qat-linux@intel.com, linux-gpio@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-iio@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v5 19/23] soc: renesas: rz-sysc: Convert to common field_get() helper Date: Mon, 27 Oct 2025 19:41:53 +0100 Message-ID: <3cfbe44e26e2253ad1fb82d86fffbd5fb35251a5.1761588465.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Drop the driver-specific field_get() macro, in favor of the globally available variant from . Signed-off-by: Geert Uytterhoeven --- v5: - Extracted from "bitfield: Add non-constant field_{prep,get}() helpers". --- drivers/soc/renesas/rz-sysc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/renesas/rz-sysc.c b/drivers/soc/renesas/rz-sysc.c index b9880085d3634065..73eaf8b9d69f7208 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. */ =20 +#include #include #include #include @@ -16,9 +17,6 @@ =20 #include "rz-sysc.h" =20 -#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 --=20 2.43.0