Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1270364pxb; Fri, 18 Feb 2022 04:25:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJylNFKMe3cO0VdO4RnXmXKYiMOxypHtj1HPQe17ImpWZxrs5ViMILFouMKwIFUWydMIhafC X-Received: by 2002:a17:90a:c981:b0:1b8:b14b:6913 with SMTP id w1-20020a17090ac98100b001b8b14b6913mr8163136pjt.131.1645187135936; Fri, 18 Feb 2022 04:25:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645187135; cv=none; d=google.com; s=arc-20160816; b=q0mYr21vM7m2NC1qU47S6hZI36YemaI+YXMs8nC6LQYkyGG17OxvIQTaih7mKIRT5Z W8EKq7hSy45FwBZ0O4s/zEjeFC6lt4ybB6sM/dBMmP8+Ns+woM+uVHSQcP6SKjRZ4SYu nDurjdF7Hj8H7NyrXhS0tUD95nJlX1rWhHnJqyBn1sWOBmqyUhH7Z+SKWcDn2pwBi1ov f6EN7exdb9MwBmJGDj2xzAvYZk1VB5lYgfd1hVEP02ZmAXPRjeiAXZE/bzQzFosUr26t bXvxFz//GFT2JUje+6mB1kqe5SDaXe5rqtzDertxSMAOB5ql+3JLATm7jj7mR+plRWUT wUNA== 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=/nRIForTo2KQPxd/AMOdX/ky4GDtYbolPskG8tcKSBY=; b=zbu5uhaPUp9WxNuzy9c9vSP7dw1bOFtySkfOLBrxa2gpeNLUQdc+ixHz3dvE1Mj/GS t6S3Pb6qop5Cg5HljZxBsnCLeW1LC81TIRYAcG9znA0TDldFn3p/7jWo2YdsY/oiDDqi o+0Ug7TvlW+ZRKq5FkG5Yk4JBbzm/SEFBJvoWNT7ADUr1nvzPdrm7d/D+QOSZOaL4n4Q dMsOcCsIj7wWpZbQOh9sR8dzx9i/nBhs/JRO6e0ynKVr6xSx8PTHhTOJWx4YqfStGrdR r500c7gcUHWZ3aXDZBC620ecjwUbkC6K4Bu4eD3XrJBofZKhQDbJF9ZvXO9Veuv4+A21 PvRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=N5bD1JrY; 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 x31si2647072pfh.311.2022.02.18.04.25.20; Fri, 18 Feb 2022 04:25:35 -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=N5bD1JrY; 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 S233393AbiBRLhk (ORCPT + 99 others); Fri, 18 Feb 2022 06:37:40 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234585AbiBRLgm (ORCPT ); Fri, 18 Feb 2022 06:36:42 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C782B0B38 for ; Fri, 18 Feb 2022 03:36:23 -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 3AD822245C; Fri, 18 Feb 2022 12:36:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645184179; 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=/nRIForTo2KQPxd/AMOdX/ky4GDtYbolPskG8tcKSBY=; b=N5bD1JrYy18L4GsPMn13XuZjxttiF1LXN0Q/F1n9P8lcrgnYz9hbPgO/gND7TA+3HeC8Sw 3LvKtjogVXa1G/dtorFAYfllVg89n4xtHV3HLRdQqp2CxkCnUO+dFesjQbcR71ELGZ1xbl 6UcB9XOCOCem6NUSZDqmHbWO+Jm0+WU= 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 v2 16/32] mtd: spi-nor: xmc: unify function names Date: Fri, 18 Feb 2022 12:35:51 +0100 Message-Id: <20220218113607.1360020-17-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218113607.1360020-1-michael@walle.cc> References: <20220218113607.1360020-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_ - _ - _ There are no functional changes. Signed-off-by: Michael Walle --- 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