Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1370787rdb; Wed, 16 Aug 2023 09:28:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHX4OtStAVlyD1QADLpBz2O7WeGiWi/Z+2lAYNWF4j24HN2yABkhrIhd6bOPKwkTQFCJhoJ X-Received: by 2002:a05:6a20:13cf:b0:13f:9dbc:e530 with SMTP id ho15-20020a056a2013cf00b0013f9dbce530mr2299551pzc.8.1692203291940; Wed, 16 Aug 2023 09:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692203291; cv=none; d=google.com; s=arc-20160816; b=n6y+wGig5LNwIHSrKXxKuN7UCLzHjx4sdU3dr9M0ZwshF28a22j/DI/eFeJCAwBzmI 8Bf5TfRG4XLbUZ5IdIFVIItn5YH1t9fSfPByPw5E4//aSGUOroQtuPhg+qWlnMDK/qMs 7v/+7qK3fzSNCWhQoxIePnW9l8+Z2LMXykvoZtPcHOiQzM5bR22qYtT9eyhI6mAl9hxC pW/JpiiLq1dnK3ord8c158TZagiPFnC6IDRKa4MI7KQZouSRKANTiojO+meBNhnvZ281 Waslu3K55eISnXz5G9RMCKWAtJlxDHjaM/IwMDJRuaW471fiacpVwlhApRh0y5dLK0AN ieSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/ZCX8eMI40KFqa1nJ67s9HAUe0BMxF7zkEsfmuC5sCY=; fh=zWSekctBANbJn3jbKlSjNxMEQpn0VebK34pOh/Pwijw=; b=KKDvRKBa+vmmdj6MQdvEmbZAQXTMt8ljJujBGFrJHtfvnbJLNIwdO47xMN8ZmjgQOp MUwKfftOHrDh5LovpT0S0FQlRXmUzthVt1Gq5wchGt2riVr0ZYE3v7qdA8dY51VVj4bN cpu58DN/XppJLbRhcdBbis1j1faz/LJMWdXVhyKE4XcLX2lABaTf8C6OShGPfm5U8LsL 6rdb1OISbax1Sm+Lnw1dGXi/j8aMvldwe69OyrR9CuSYMUzZLEsGWRXn+n2RDWzHEjG9 aOqUOaXILgLvnXK3KnjpVGm7GVLeiXhpZ1jqYagetkos0DfaONHrdTbyZxvGOvOfWD48 wSCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t37-20020a056a0013a500b0066d45f035a5si11839111pfg.320.2023.08.16.09.27.51; Wed, 16 Aug 2023 09:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244066AbjHPKqN (ORCPT + 99 others); Wed, 16 Aug 2023 06:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244170AbjHPKpU (ORCPT ); Wed, 16 Aug 2023 06:45:20 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDB9B2123 for ; Wed, 16 Aug 2023 03:45:09 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5d0c:f209:12a7:4ce5]) by xavier.telenet-ops.be with bizsmtp id aAkg2A00w45ualL01Akgwr; Wed, 16 Aug 2023 12:44:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qWE0w-000orn-4y; Wed, 16 Aug 2023 12:44:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWDAw-00676L-UF; Wed, 16 Aug 2023 11:50:50 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart , Sui Jingfeng Subject: [PATCH v3 28/41] drm: renesas: shmobile: Rename shmob_drm_connector.connector Date: Wed, 16 Aug 2023 11:50:35 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the "connector" member of the shmob_drm_connector subclass structure to "base", to improve readability. Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Reviewed-by: Sui Jingfeng --- v3: - No changes, v2: - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c | 4 ++-- drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c index 84a773a5363035e0..f55b5263e611c782 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c @@ -560,7 +560,7 @@ int shmob_drm_encoder_create(struct shmob_drm_device *sdev) static inline struct shmob_drm_connector *to_shmob_connector(struct drm_connector *connector) { - return container_of(connector, struct shmob_drm_connector, connector); + return container_of(connector, struct shmob_drm_connector, base); } static int shmob_drm_connector_get_modes(struct drm_connector *connector) @@ -632,7 +632,7 @@ shmob_drm_connector_init(struct shmob_drm_device *sdev, if (!scon) return ERR_PTR(-ENOMEM); - connector = &scon->connector; + connector = &scon->base; scon->encoder = encoder; scon->mode = &sdev->pdata->panel.mode; diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h index 79cce0a0ada4cfce..2c6d7541427581a6 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h @@ -33,7 +33,7 @@ struct shmob_drm_crtc { }; struct shmob_drm_connector { - struct drm_connector connector; + struct drm_connector base; struct drm_encoder *encoder; const struct videomode *mode; }; -- 2.34.1