X-Received: by 2002:a17:906:ce23:b0:6cf:7203:ded6 with SMTP id sd3-20020a170906ce2300b006cf7203ded6mr42290ejb.170.1645626853649; Wed, 23 Feb 2022 06:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645626853; cv=none; d=google.com; s=arc-20160816; b=g4ipNr2hy3VyQphm4S2Ih4vsjALW23ZD/EqBzN6niFX6iXVGHuYEFrdpSNUQu3ogGB m43vz75ux1lzJCE6MbNvTXtI9yEZVLzNjAve5dYSmsl2LPW2u2kQsaEZnicusXUjfSYn I+ez9ycBWdWFJpmSDITok9Jm5kNuLPsqrZTGRmg5ULeGpb2Ld84JyKs9KmekjcfIfB/p 6/mi1vzbHFdCxw6gzaigIxOCRGMJ9GDilWjxHXJuT2WyYC2lXeK0R7ELZBwk5fz0/SB1 +9WK9Y8VxO2gIkfqVXvdzobsmhiT8nu4WymVjTVArQhwyZrjUVIkKkBuDNrVeNis5DWB Sgdw== 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 :dkim-signature; bh=CqhkHAkkrKiJhs+qhvMCYUbLSrfnVv6IBJOqUiinTes=; b=ZAiNHNv6SuYK2C/7A/zgLRtjTOfZpj/V356yq5ypP/vMHhcVNJVi6wfUp4pLbcH1eP 4VKXSRJaUg6cJrzhcFPikbrCr2MegtU7XLFcIZ3+qc9w/HQkwGIhwuyZtKNkTQ3+T9+k 4JNgtqQ0ep5yILYlwrMgyxR4zA4oW0+PJItd1Eg9CPIYdhj/xWILAFPP9IailDSbTAvM GGWdTZme8XvJgW6SK2aKI4JajxA+tx4GCocUt2zzokUUeWATSgOAbcavQFZHKWm+TcFv 4oneiHo0JxZHnlY1XdSbrKmU/ITAZC2IyhQLdHc3A9GUqJh5J8BqQoKdxWTLFMJzzeR0 HVLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=d2g4oSzi; 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 w13si13534602edx.208.2022.02.23.06.33.50; Wed, 23 Feb 2022 06:34:13 -0800 (PST) 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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=d2g4oSzi; 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 S241134AbiBWNp5 (ORCPT + 99 others); Wed, 23 Feb 2022 08:45:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241066AbiBWNos (ORCPT ); Wed, 23 Feb 2022 08:44:48 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EECBAC918 for ; Wed, 23 Feb 2022 05:44:13 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 7902222453; Wed, 23 Feb 2022 14:44:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645623851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CqhkHAkkrKiJhs+qhvMCYUbLSrfnVv6IBJOqUiinTes=; b=d2g4oSzifZXDqqqNQEDrKH1FEmLMbOdvlU6SBHr8JPpAlUXTSw16Gh2K0VFQTCA+zBLvRn zaIt7v4jsPeozeljez8eIR6FGdNUovhZUvHZ99pYL52GFbv3XFRvqLuBLcyXFogSNRPBbc kErTuogFUCOCo/vOdUS19Z5PzlKhkXw= From: Michael Walle To: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , yaliang.wang@windriver.com, Michael Walle Subject: [PATCH v5 16/32] mtd: spi-nor: xmc: unify function names Date: Wed, 23 Feb 2022 14:43:42 +0100 Message-Id: <20220223134358.1914798-17-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220223134358.1914798-1-michael@walle.cc> References: <20220223134358.1914798-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 To avoid name clashes unify all the function and static object names and use one of the following prefixes which should be sufficiently unique: - _nor_ - _nor_ - _ There are no functional changes. Signed-off-by: Michael Walle Acked-by: Pratyush Yadav --- drivers/mtd/spi-nor/xmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c index 2992af03cb0a..051411e86339 100644 --- a/drivers/mtd/spi-nor/xmc.c +++ b/drivers/mtd/spi-nor/xmc.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info xmc_parts[] = { +static const struct flash_info xmc_nor_parts[] = { /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */ { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | @@ -20,6 +20,6 @@ static const struct flash_info xmc_parts[] = { const struct spi_nor_manufacturer spi_nor_xmc = { .name = "xmc", - .parts = xmc_parts, - .nparts = ARRAY_SIZE(xmc_parts), + .parts = xmc_nor_parts, + .nparts = ARRAY_SIZE(xmc_nor_parts), }; -- 2.30.2