Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1384567rdb; Wed, 16 Aug 2023 09:50:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBmt7tipcgpafULlrxibmFb8PAvLC55SASvE5vCpgC7S/GNx3pqZzpjoU7i2lPHcyvIc84 X-Received: by 2002:a2e:9916:0:b0:2ba:18e5:106f with SMTP id v22-20020a2e9916000000b002ba18e5106fmr1992505lji.30.1692204654084; Wed, 16 Aug 2023 09:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692204654; cv=none; d=google.com; s=arc-20160816; b=AAYIvjjwGXfo1r+C5POZJsgtQvV6Ps/EwM8IjQ2rnibFe1VWp83olCIPFctYbhiVvO VHgqCQYVRUc1h+qBdQ4KUy4WJ4VjklpegR2kQlmt6FGXv002THp7QHUH2tMbXME0FmGy qVoCFjiG8PPCtNG92Nvz+2PPrLYoeXvGR5nAPiXAp5p9qD9YRCRkPqXiXsyjhosigc6V 47v+BXeP1RXIxZ0Sgb/yTuqF/oOtaOFFsFu9I5k3v3xl1S7uiSlqzL4cyQAJJzp26l3+ JjLMXTDDWD8N3irF9Cvql4aGTBOgcdHRK/PFhGaLNFFHmkxnwcCqwjia7CLzWziDmAck SGqA== 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=ndEZ8Ce2sdpypTX/kA/8mQGA6ro1TDrPcTJE9FgItbE=; fh=zWSekctBANbJn3jbKlSjNxMEQpn0VebK34pOh/Pwijw=; b=pVkrltWrec5/Io6mesrnz28Z3eqeiZV4jxPept/jzuRVeyo8BhSvf9FuruKgguq9yb gipmsXKPems4MrHVL93wJ+ML2ypDsGbgpG+vMcq+BWSit/srfT7gvd4RWNAiVzO/4Al0 1GKdpZPUBbJCgjCIoJmbkQlKAz8um8o7SA30ooqsS1Dvlyc1dHj0NFmewByPeYeRgGcD xGSEa/FzIONB5veRy6W7wobn0oiGXyViZzGwLOc2nAXHTOw43X/CPaIzSjKwennzZuoB xN0inJmvyAtYhE6KAQAwXQ9EodoG5p6L9a2YxLwD5juHEPVVXgfL1s+JRdS7p/0oC6Cw Do0w== 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 g22-20020a170906395600b0099df02668eesi1374830eje.150.2023.08.16.09.50.28; Wed, 16 Aug 2023 09:50:54 -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 S244015AbjHPKqL (ORCPT + 99 others); Wed, 16 Aug 2023 06:46:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244032AbjHPKpV (ORCPT ); Wed, 16 Aug 2023 06:45:21 -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 9CFEC2121 for ; Wed, 16 Aug 2023 03:45:10 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5d0c:f209:12a7:4ce5]) by xavier.telenet-ops.be with bizsmtp id aAkg2A00r45ualL01Akgwq; 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-000orj-2C; Wed, 16 Aug 2023 12:44:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWDAw-00676Q-Uw; 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 29/41] drm: renesas: shmobile: Rename shmob_drm_plane.plane Date: Wed, 16 Aug 2023 11:50:36 +0200 Message-Id: <4a9fbb6b9ab7c97f1b99513a35ad835ee6a00613.1692178020.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=-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 "plane" member of the shmob_drm_plane 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_plane.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c index 3518f8900c0d1f9e..d0a9299784d4a7cc 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c @@ -20,7 +20,7 @@ #include "shmob_drm_regs.h" struct shmob_drm_plane { - struct drm_plane plane; + struct drm_plane base; unsigned int index; unsigned int alpha; @@ -37,7 +37,7 @@ struct shmob_drm_plane { static inline struct shmob_drm_plane *to_shmob_plane(struct drm_plane *plane) { - return container_of(plane, struct shmob_drm_plane, plane); + return container_of(plane, struct shmob_drm_plane, base); } static void shmob_drm_plane_compute_base(struct shmob_drm_plane *splane, @@ -64,7 +64,7 @@ static void shmob_drm_plane_compute_base(struct shmob_drm_plane *splane, static void __shmob_drm_plane_setup(struct shmob_drm_plane *splane, struct drm_framebuffer *fb) { - struct shmob_drm_device *sdev = to_shmob_device(splane->plane.dev); + struct shmob_drm_device *sdev = to_shmob_device(splane->base.dev); u32 format; /* TODO: Support ROP3 mode */ @@ -216,7 +216,7 @@ struct drm_plane *shmob_drm_plane_create(struct shmob_drm_device *sdev, funcs = &shmob_drm_overlay_plane_funcs; splane = drmm_universal_plane_alloc(&sdev->ddev, - struct shmob_drm_plane, plane, 1, + struct shmob_drm_plane, base, 1, funcs, formats, ARRAY_SIZE(formats), NULL, type, NULL); @@ -226,5 +226,5 @@ struct drm_plane *shmob_drm_plane_create(struct shmob_drm_device *sdev, splane->index = index; splane->alpha = 255; - return &splane->plane; + return &splane->base; } -- 2.34.1