Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1532334pxb; Fri, 18 Feb 2022 09:39:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwM3hl3R7bXs/dfU9/+NR/lKvdQVdw70QUxE4xyqHRKLssHv1Zv7kOjNSboUk+CoORxL8s3 X-Received: by 2002:aa7:d3d9:0:b0:410:7a81:c0cf with SMTP id o25-20020aa7d3d9000000b004107a81c0cfmr9275483edr.177.1645205939845; Fri, 18 Feb 2022 09:38:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645205939; cv=none; d=google.com; s=arc-20160816; b=PvZSV5X5/XGPRpHzTS3t9G/L8QKJ6wP/AOMmanQ09aNYbNMVabEZKyXjr0jOT09058 TY1CqMS6agxv/oZrT2+C4K9dmpcbwqBD138riksppTwJo/VuoDeckknadVoO+LrZkjwt sxS5mjN/v0UeaVGWUJYLj7z3Q7O68Ita1YsgSiG6fASLq64+weqvzL4rm8BRZGWBheoq YSjUxFXNXP/ySvldQVreXau2WfKuMs2rIHspibyOM5xNRZnQltbWAVwd3UBZPA+IF7HP MqoRFVK/Cw4ySqFPCwArF8Ctx2Nj/kK8rCJct/KcWA+FOUjUXiFlfYyByCgSYOOw77Jz bIzQ== 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=b3SRCZp/aNw+4bqfY8YI6R1apw3mSO1+Icgsv0JWupc=; b=XNSeqFzIlXiBtrdcSVvS1v2uD30pjWKfInB7BXkAY77BMt9F11g/HdLxvo76lsmbOz Zwys1HSDkGA27ljXYKOKxxpQ5sqvRrlLZKtPZxdvLuVIPu3EHeZYwW77iznbx9dRtQMm QjaZvY0Mo6R9+3PnbXwgYp0/B2+c1hAWHWIuE8ld22YYquhSZ80d6aMpxYj0zd58nz2U GBoyeNkGjcoFHyLb360LW2AH+5wPbpRszgW48lfZgOzEylB2VeJJb51xsGP/UoE0qnVY X3zstpkIEwWgp5bWddVdJC+5tQ7rVf3yemFtZEu/a2gsQ42vsgFykAUxIYBXZK+zAtVk jXmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=XJiEqr1g; 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 dn8si4637309ejc.277.2022.02.18.09.38.33; Fri, 18 Feb 2022 09:38:59 -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=XJiEqr1g; 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 S234653AbiBRLhD (ORCPT + 99 others); Fri, 18 Feb 2022 06:37:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234572AbiBRLgk (ORCPT ); Fri, 18 Feb 2022 06:36:40 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E302B167E for ; Fri, 18 Feb 2022 03:36:21 -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 CACF82241C; Fri, 18 Feb 2022 12:36:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645184175; 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=b3SRCZp/aNw+4bqfY8YI6R1apw3mSO1+Icgsv0JWupc=; b=XJiEqr1ghuqlMXCPtUAZ3v68yW1DzMIH/aDQzfNo4fvx10AHa420+AMmX22YmlM3APU/Me J6gdI53QAaHdUGdfoM/M4skHxHcBxu8i3TCZnganrFWmhmp4bJ6rXiWREi3J8Siuy9XhGE 5WrwcjGFckMcUzZlcUpqZa+jXiQ0Yho= 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 05/32] mtd: spi-nor: everspin: unify function names Date: Fri, 18 Feb 2022 12:35:40 +0100 Message-Id: <20220218113607.1360020-6-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/everspin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/everspin.c b/drivers/mtd/spi-nor/everspin.c index f6c6fb36a428..84a07c2e0536 100644 --- a/drivers/mtd/spi-nor/everspin.c +++ b/drivers/mtd/spi-nor/everspin.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info everspin_parts[] = { +static const struct flash_info everspin_nor_parts[] = { /* Everspin */ { "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) }, { "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) }, @@ -18,6 +18,6 @@ static const struct flash_info everspin_parts[] = { const struct spi_nor_manufacturer spi_nor_everspin = { .name = "everspin", - .parts = everspin_parts, - .nparts = ARRAY_SIZE(everspin_parts), + .parts = everspin_nor_parts, + .nparts = ARRAY_SIZE(everspin_nor_parts), }; -- 2.30.2