Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7121778rwp; Tue, 18 Jul 2023 10:17:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlE+/sbN19SkvtWskycBHr4QWxGypp4lkGpzqIiDOAYq35jhYz/BwlEQP2nWi3i9/sduxKBi X-Received: by 2002:a17:902:d501:b0:1b8:5827:8763 with SMTP id b1-20020a170902d50100b001b858278763mr420741plg.4.1689700677128; Tue, 18 Jul 2023 10:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689700677; cv=none; d=google.com; s=arc-20160816; b=aOgupSG9V7gSddhu9xmO0uy/mzu+ZYGxxVJ4kkexcnuo/9hh6ZwwOg3VJ2n1JAWrEA k+DJkO4G2HihVYKONr9ZPXGad8ZirQQt+kdszcf9dzCZY0UqCwx7TV7p6YD/d9M40nns bDR1lo7gHC/srWRGLPd1Lz+tpeBzgpFKWHWxRxvIcTtSpPF8geKNj9DikhBRpIDeJi4d N3f0qNgaGUJjiIuPzTzB5cW45bZ81Bm6H9UYcWhqhhaOPDKz7Pz+vTe/0/xwrsnvPRyp 42MR5NoeHaszooqQLaXgDD4JRpl1Gh+SEez1AcjETa54FDsFkGn7zlXqpKVrpwnVGeuR vIyQ== 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=ko2pgmZbtTabYsNwS2N8VqzO/bldHIA7KH6BLsWlr+4=; fh=rkWprSr09iG7Aw7cStufNQtsAH0NhNBgTTIBreWhagQ=; b=tQPxWHlTYIHc+8ABbUVQLdisZdY1vG60++TdDZbow4IRwzkZswWQVmWOs5HMHhv7HU hVCg1ZmIxRXWiXbjJcXCwWgFlsEVRD8F6WSPmI4mTwk12Vst+Lpx4l3KmVDPfPewJlbR e5hTGKnWbvVpJxpD9UPr0cU5UwFx6rkE/zTRpCdEO7yrWn/WiL8RSITZEeNl60ef0r/5 8lIlMuW+bkt5dUoCLd8GoMEUMa8nZYnQXbRHOrRIaDWPrMU4/28yHzhuJ7qHG+ibW93e f95l63IjtPWO2fE7HQhltklJHkLHXufyBTcFDj+JBZHPdlq2SBZIbGnzQGp1k9r8jF4m +lxA== 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 p6-20020a170902e74600b001b8b5f8c48dsi1958097plf.182.2023.07.18.10.17.44; Tue, 18 Jul 2023 10:17:57 -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 S233811AbjGRQ4l (ORCPT + 99 others); Tue, 18 Jul 2023 12:56:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232541AbjGRQzG (ORCPT ); Tue, 18 Jul 2023 12:55:06 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198DE1BDD for ; Tue, 18 Jul 2023 09:54:55 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5803:2d6d:5bbc:e252]) by albert.telenet-ops.be with bizsmtp id Ngur2A00v0ucMBo06gurSq; Tue, 18 Jul 2023 18:54:53 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qLnyD-001nZE-Ie; Tue, 18 Jul 2023 18:54:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qLnyN-000gdM-Jh; Tue, 18 Jul 2023 18:54:51 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart , Sui Jingfeng Subject: [PATCH v2 28/41] drm: renesas: shmobile: Rename shmob_drm_connector.connector Date: Tue, 18 Jul 2023 18:54:33 +0200 Message-Id: <6b292b4ef399cd6ec3932ec9eab7db9c49707d68.1689698048.git.geert+renesas@glider.be> 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=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 --- 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