Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2533701rdb; Fri, 22 Sep 2023 01:04:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGE6/0FA5edoDXc2nXYDmb+k3EEyx4Ebvrt8GNYegZDv5KoiWIOSmE3ySmM62zxAovfyCQt X-Received: by 2002:a05:6a20:3d23:b0:140:d536:d434 with SMTP id y35-20020a056a203d2300b00140d536d434mr3121553pzi.10.1695369854450; Fri, 22 Sep 2023 01:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695369854; cv=none; d=google.com; s=arc-20160816; b=iOtdyEGUDWXu5RkS9ZNQovsFpD8JG2267KhvHM6cmXMrmRyngH6d3jPGP/5R0y2U2o RhI4WSJMpYsaWoHYNh7Fyj8OI670tXWEP5l1eEOVei/Ls5++YM7J08T/rbA0AhsTQ42q NZgcfIS5MCgj6BBu2HYj6hDxf+PVMpA9D749ahL2dHcFOvu9YwFEg5tydNu4xFf5765i jUZyJT9Rb14scXkif4aDpDLT21+AV8QXD84KtjpItLNOJoBhsft9MdCvAuUPick7W/G8 35XiF3UPAj/1az2JOqFB4/n/gLjQFHg+QIof+6C0vzADgFcWM9EOn2pTM+1iC7VPhu3V 9lYQ== 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 :message-id:date:subject:cc:to:from; bh=wN1mdsBSUlmKutHVovjFjA69rDSFv8XtjELlZk3TIlk=; fh=K3KE32lxQ9LlBgkSwp6BW3qH3b6y3WTwHzr6NdDI6Jw=; b=UzjEb0WKLPac363N4ixZDqxXT7j6YS5URt1d2LcuZgSyAyY49BcYf//RjfVgjME2kJ 9l9d37z+/HefQI/5JJWnsomTMP1hhG0v7ZEN0O7H02j3rO/MepmYeUpyn8aK/HocRHOC YHHpdaERzH5Iu3sSWgghz8B0cLbPRoZ10JqMN5MC5If3iFILuXacpueHpCkz5R9Ohwub 0OrMCWehibsXnXqM63Gjnso2CCdFeJCOd7fc8Sr6bOyAlWdpN8OqS7KdLEClgWiJog+x on82O3r+j5pv94FK60weBHhKZATz3Jf3/exNdp4EtP8GzIzAwGgFqLYK7q2z7V87wQbS pVMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bu6-20020a056a00410600b00690fbe083f8si3243578pfb.334.2023.09.22.01.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 01:04:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B73E381B213D; Fri, 22 Sep 2023 00:53:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjIVHxX (ORCPT + 99 others); Fri, 22 Sep 2023 03:53:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjIVHxW (ORCPT ); Fri, 22 Sep 2023 03:53:22 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3232F7 for ; Fri, 22 Sep 2023 00:53:15 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:ea4b:e108:10b2:c4a2]) by baptiste.telenet-ops.be with bizsmtp id ovtE2A0083uG6wG01vtEN4; Fri, 22 Sep 2023 09:53:14 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qjay2-004AaG-Dw; Fri, 22 Sep 2023 09:53:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qjayQ-007VfB-0S; Fri, 22 Sep 2023 09:53:14 +0200 From: Geert Uytterhoeven To: Thomas Gleixner , Marc Zyngier , Lad Prabhakar Cc: linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] pinctrl: renesas: rzg2l: Rename rzg2l_gpio_configs[] Date: Fri, 22 Sep 2023 09:53:11 +0200 Message-Id: <19958e63a2b793be5182640c4301ec5a77a507f6.1695369116.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 22 Sep 2023 00:53:21 -0700 (PDT) The rzg2l_gpio_configs array is really related to the RZ/G2L (R9A07G044) Soc only. Hence rename it to r9a07g044_gpio_configs[]. Signed-off-by: Geert Uytterhoeven --- To be queued in renesas-pinctrl for v6.7. drivers/pinctrl/renesas/pinctrl-rzg2l.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 37cdfe4b04f9a41b..3f238895abffea8f 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -985,7 +985,7 @@ static const char * const rzg2l_gpio_names[] = { "P48_0", "P48_1", "P48_2", "P48_3", "P48_4", "P48_5", "P48_6", "P48_7", }; -static const u32 rzg2l_gpio_configs[] = { +static const u32 r9a07g044_gpio_configs[] = { RZG2L_GPIO_PORT_PACK(2, 0x10, RZG2L_MPXED_PIN_FUNCS), RZG2L_GPIO_PORT_PACK(2, 0x11, RZG2L_MPXED_PIN_FUNCS), RZG2L_GPIO_PORT_PACK(2, 0x12, RZG2L_MPXED_PIN_FUNCS), @@ -1484,7 +1484,7 @@ static int rzg2l_pinctrl_probe(struct platform_device *pdev) struct clk *clk; int ret; - BUILD_BUG_ON(ARRAY_SIZE(rzg2l_gpio_configs) * RZG2L_PINS_PER_PORT > + BUILD_BUG_ON(ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT > ARRAY_SIZE(rzg2l_gpio_names)); BUILD_BUG_ON(ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT > @@ -1534,10 +1534,10 @@ static struct rzg2l_pinctrl_data r9a07g043_data = { static struct rzg2l_pinctrl_data r9a07g044_data = { .port_pins = rzg2l_gpio_names, - .port_pin_configs = rzg2l_gpio_configs, - .n_ports = ARRAY_SIZE(rzg2l_gpio_configs), + .port_pin_configs = r9a07g044_gpio_configs, + .n_ports = ARRAY_SIZE(r9a07g044_gpio_configs), .dedicated_pins = rzg2l_dedicated_pins.common, - .n_port_pins = ARRAY_SIZE(rzg2l_gpio_configs) * RZG2L_PINS_PER_PORT, + .n_port_pins = ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT, .n_dedicated_pins = ARRAY_SIZE(rzg2l_dedicated_pins.common) + ARRAY_SIZE(rzg2l_dedicated_pins.rzg2l_pins), }; -- 2.34.1