From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB217D1118B for ; Wed, 26 Nov 2025 17:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Oveio8G+2g9nvCOYGYGyqpnqI1CGgVJ0FLMFM8BnlO0=; b=hBLBcA4H2K9NEmGmQRnND/+Hrk Zn5+OORH7dF69EthCepdVuaz+ODyW9MahY+ZVagFQimBwIES+KQYovDt8qte1kNGvTuAmJGe87fye AHCPAofuKZfx22ZNgVvzeFALGN8g1AW2eR/6xXh/EwGvWC0qICwl2ySep/9CPF03tpdyMm3441763 SohQHS3duKtngf8Zwrn3jSnq/VHyzuDHDClxpkAF6c8/pd3+RXox27v4AryeePjOarFiEysmyLzkW GHcpjo0yFJMoo2e7Xuy62QFMlWHzieTGoQ1fQYY55uAZpc5lk+iDvcV26xChlI54Z3u9XkheDxux3 5Nas3kJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vOJSo-0000000FPWd-1MWv; Wed, 26 Nov 2025 17:37:58 +0000 Received: from smtpout-04.galae.net ([185.171.202.116]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vOJSZ-0000000FPFK-1ONZ for linux-arm-kernel@lists.infradead.org; Wed, 26 Nov 2025 17:37:47 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id E0E46C16A0C; Wed, 26 Nov 2025 17:37:18 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id A863C60721; Wed, 26 Nov 2025 17:37:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AD13D102F22BB; Wed, 26 Nov 2025 18:37:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1764178660; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=Oveio8G+2g9nvCOYGYGyqpnqI1CGgVJ0FLMFM8BnlO0=; b=2Vxt3OReAC3dnVceNrBrBtLGi6S362OZy6NdOKPCMSecnaL4sWygiY9p5nsPEVMq4RBIZn 8ZysyaQNWl8Y3ZTpTqgiYWMr80/RR3jTYFXtMTYN6B4P8XfdVnTkbR7for0MKHL60qrnzf aNumy7UP+wcmXqFcpZ28nWtE5QUq5G3dUmq4skTjallAkX1ha6tPTCFxGDdXNUP2qBnP1w PCz+Fudt/ixcwEan/ovnSHtrQlYm1sWZIxglO6tR/8ZKvqoipnhRm/yB4UDa7TFDK/qldU s2T2suemAwSXgW2w0mejFesDRdslGFDWaW5T14CYv97E7eDJRZ01EZUB+IGuNg== From: "Kory Maincent (TI.com)" Date: Wed, 26 Nov 2025 18:36:01 +0100 Subject: [PATCH 19/21] drm/bridge: tda998x: Remove useless tda998x_connector_destroy wrapper MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251126-feature_tilcdc-v1-19-49b9ef2e3aa0@bootlin.com> References: <20251126-feature_tilcdc-v1-0-49b9ef2e3aa0@bootlin.com> In-Reply-To: <20251126-feature_tilcdc-v1-0-49b9ef2e3aa0@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 , Luca Ceresoli , Louis Chauvet , Thomas Petazzoni , Miguel Gazquez , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251126_093743_558213_D166175C X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use directly drm_connector_cleanup in the destroy ops instead of having a custom function that does nothing more. Signed-off-by: Kory Maincent (TI.com) --- drivers/gpu/drm/bridge/tda998x_drv.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/tda998x_drv.c b/drivers/gpu/drm/bridge/tda998x_drv.c index 4be49dd5bfc01..43ace6ee2ca35 100644 --- a/drivers/gpu/drm/bridge/tda998x_drv.c +++ b/drivers/gpu/drm/bridge/tda998x_drv.c @@ -1203,16 +1203,11 @@ tda998x_connector_detect(struct drm_connector *connector, bool force) connector_status_disconnected; } -static void tda998x_connector_destroy(struct drm_connector *connector) -{ - drm_connector_cleanup(connector); -} - static const struct drm_connector_funcs tda998x_connector_funcs = { .reset = drm_atomic_helper_connector_reset, .fill_modes = drm_helper_probe_single_connector_modes, .detect = tda998x_connector_detect, - .destroy = tda998x_connector_destroy, + .destroy = drm_connector_cleanup, .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, }; -- 2.43.0