From nobody Mon Feb 9 13:57:32 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 C36F534A79F; Tue, 6 Jan 2026 17:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767721437; cv=none; b=M6ol2wtKXH3voXmdZADrAKUC1Gg3zFm4pjkJCBmymV/Us62FIis4FxsXqK6bxObmiauV1DyOFNGoQPKfZl78GkO02At33OlrzGy3h/Y/k9TDlULyM0PwvXs9LAAdzeBvgNMeQ1FnDYk3iElmSF4fxLSBS0im3mV3bUP994ni8WM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767721437; c=relaxed/simple; bh=R2ozZyameZR8yNERVvn+fDB8DQCf25gtzZUsLJMbSfk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pBq3K/pNMBHlEjXcXQNvAGF1AzOQ30+9glcTi/7qNEF/4+LxT/YpAXIFcsgQvWTTjL70eCgeH2hWyg3LmNHl20lup6KQ0CPwDrc00AgdjSjuORGMaI3Qb1PriEnmQoTw1InQAKQrM+VqlvxqaCHv/fOdRMscTYpUEM05WnUbOnE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=HyBcRM3L; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="HyBcRM3L" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 5D605C1E4B2; Tue, 6 Jan 2026 17:43:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6DBCD60739; Tue, 6 Jan 2026 17:43:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6A5B2103C833E; Tue, 6 Jan 2026 18:43:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767721432; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=MS4b7veCYN3tYDfz/s9LxcL0AfieJWRhqqzkQWfhAqQ=; b=HyBcRM3LaAPjt+Ff2ko8PCYyfUdfocd395/RYu/oAbEQkZNk5Tsbm17VxLKKBs9ZjRVSFs Io8PJrRFbnrIOL7QRaUIbScbmNS6KZzhIpn+R6cePVMwr1jOUy9lHnd2clnQAEV5bf6g4O 4UQ3lqqVMpsqQaC5X2DVSRtGpna7Xvox8NRn0SmW8x+Jetp46uf17RHE8Kd+gxKHSmM0YF bWlVj6EBTlXSBdPMCTQkr2KBKVTeKssE19PfSAO3PzmetMc0mpqSD1dsHFUIjk052juwyj +R8kuN6g2NBtsnAEcV+yaPHB2e/I+H1+3nPak+jIT6iYnBT/Qrd9V+fEnmS2zg== From: "Kory Maincent (TI.com)" Date: Tue, 06 Jan 2026 18:42:25 +0100 Subject: [PATCH v3 09/22] drm/tilcdc: Remove redundant #endif/#ifdef in debugfs code Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260106-feature_tilcdc-v3-9-9bad0f742164@bootlin.com> References: <20260106-feature_tilcdc-v3-0-9bad0f742164@bootlin.com> In-Reply-To: <20260106-feature_tilcdc-v3-0-9bad0f742164@bootlin.com> To: Jyri Sarha , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Bartosz Golaszewski , Tony Lindgren , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Cc: Markus Schneider-Pargmann , Bajjuri Praneeth , Luca Ceresoli , Louis Chauvet , Thomas Petazzoni , Miguel Gazquez , Herve Codina , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, "Kory Maincent (TI.com)" X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Remove the unnecessary #endif/#ifdef CONFIG_DEBUG_FS pair that splits the debugfs code section. This keeps all debugfs-related code within a single preprocessor conditional block, improving code readability. Reviewed-by: Luca Ceresoli Signed-off-by: Kory Maincent (TI.com) --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/t= ilcdc_drv.c index 9b3a0435a8d2d..d2aae731b72c6 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -438,9 +438,6 @@ static const struct { #undef REG }; =20 -#endif - -#ifdef CONFIG_DEBUG_FS static int tilcdc_regs_show(struct seq_file *m, void *arg) { struct drm_info_node *node =3D (struct drm_info_node *) m->private; --=20 2.43.0