From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 6D1A73E7174 for ; Mon, 9 Mar 2026 17:55:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773078936; cv=none; b=GA5nbDbTOYyD3N86EcK5GikCMCKzemfI4Pqs9Z2F112NOg1xckAU2PRHqEZ3g9Yl4cd5713fvmMTur1fHs3i+QDmsjTbeO08lmaqpBkRe9Meb+HwIF4Biki88PehiYl3m1G68bTWGOvlwe8gkbRMJ0bOd3PJQ7cq3/RQmMhP504= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773078936; c=relaxed/simple; bh=k773d9FceRIM619GILcDFU5QIQt2WBBQdDcjscUDI6U=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:To:From: References:In-Reply-To; b=PtdXDFsPvSPhirT9ZohO3zw0PqM5aqvrSkGF1cN8UAg6QGVx5bLhvnHJDQaNMt6HmqEBLE0ubPR7Wnm/EHmhrVOESqC9dfX+nIfL3OKRn/HV7ukFzwm8dU3UFNXtLWvQ51Wxzakz9m9iFa610ccep/CLrIkhYBbmZGArT/Msays= 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=mIjH8KFq; arc=none smtp.client-ip=185.246.85.4 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="mIjH8KFq" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 04D4D4E425E2; Mon, 9 Mar 2026 17:55:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id CD3B85FFB8; Mon, 9 Mar 2026 17:55:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A3EC5103698F7; Mon, 9 Mar 2026 18:55:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773078930; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=k773d9FceRIM619GILcDFU5QIQt2WBBQdDcjscUDI6U=; b=mIjH8KFqeNgha+/3rbWA1/vEsMh0oO6YqvO8ZdvXwe+jAhkHcLkZLq38R2BisQW3CV7IGE lcpXToBf3kM1oXKuERIgphUTuwkNrFXtob727CjCYarcZZ5B0/4Far5dQPD2CmfhcaX12M dPwlIeO3capiTM3EMndU+3eBIhaQUmwOa8gU/OC0CTl9Y3GIT4TnauZiyRB4+HH68Iz0ix FKUTCJx3qaQ58cgjPrIr0BqCfoadIHpqMwQpNsDoCt2e049uKRuFPN1APhURMU8ywvJfz2 khylHa0a9Abr5rxnCmrosVfQNjUzxKaIbcTj1UsFyfTnK8r3Nl8fn8OnCfGFuw== 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 Date: Mon, 09 Mar 2026 18:55:27 +0100 Message-Id: Subject: Re: [PATCH v10 5/6] cadence: cdns-mhdp8546*: Change drm_connector from structure to pointer To: "Harikrishna Shenoy" , , , , , , , , , , , , , , , , , , , , , , , , , From: "Luca Ceresoli" X-Mailer: aerc 0.20.1 References: <20251209120332.3559893-1-h-shenoy@ti.com> <20251209120332.3559893-6-h-shenoy@ti.com> In-Reply-To: <20251209120332.3559893-6-h-shenoy@ti.com> X-Last-TLS-Session-Version: TLSv1.3 On Tue Dec 9, 2025 at 1:03 PM CET, Harikrishna Shenoy wrote: > From: Jayesh Choudhary > > Now that we have dropped the legacy code which became redundant with > introduction of DRM_BRIDGE_ATTACH_NO_CONNECTOR > usecase in driver,we can cleanly switch to drm_connector pointer > instead of structure. > > Rename the connector_ptr member variable to connector for clarity and > consistency. The driver was using both connector and connector_ptr member= s, > but connector_ptr was the only one actually used throughout the code. > This change removes the unused connector struct member and renames > connector_ptr to connector for better readability. > > This is purely a code cleanup change with no functional impact. All > references to connector_ptr are updated to use the renamed connector > variable throughout the driver. > > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Jayesh Choudhary > Signed-off-by: Harikrishna Shenoy Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com