Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1390416pxb; Fri, 18 Feb 2022 06:55:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRqH+Y9djLARMcep6ulhmeBuhFFxm5R/WzZ//e1M8Y3yZVjoLpxB8PuvdIpK9Zk+T2hMIm X-Received: by 2002:a17:902:9046:b0:14d:5c9d:e7df with SMTP id w6-20020a170902904600b0014d5c9de7dfmr7938306plz.65.1645196117302; Fri, 18 Feb 2022 06:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645196117; cv=none; d=google.com; s=arc-20160816; b=qNAUv9o/cgOWHx4Yg4mlf0ll2l95qQbbrA3JR14tXNFxj7jM4YvlCvDqESNv5brObn ySsRN7g/eWEWwW1hNAJ1NQevgwoFGJHqjc19EUOafoKjeHh40ThcfodjZq/nn6k14dCe DmGBQ9EkmhC8yvDp/yQai3W5A8YzI4bfzR7DtgXlOuJb6HDGRYM+hbt02fo0Q9s6T9Bw FTJae9tLekQQ1yfZXMXe0sOW7usSQcaMKPXYW84QHUn8T960H/nUZVdc+vqbwJEIpPRq 4DMidlZz14vqW0O2RzEjOjO7NWdMJhrKAOw5ETNDpSqPlNq3P2LjmJONfQoBQGOOcOcK MTyw== 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=DvTwO/d5q8PM9u/lLrOXBuccah4W7HSyVD2GJr3f7lQ=; b=gZtL8ZsASLDFx8zfu1pSSZMRgCxVXViC65tV/jjPddfs6htQigLOHHKWRtjBcI51Fl 6Np+wCIBl0MZXiWTz1UjQV9vNd77cc0PEQx1XcBdlqCKK5R+imyUS/RWGeR8K/nC/CD8 60WcJvEK8iY3p6Yeg6LGqyLBv8cN2qbDEOydvvnUNkcr4Qn1bx6sbAqhMcC2CiSUecxF 0EWqmNPUxvXXq11ogxLTakjHGjnIrhid56Eij7sLF0p7HOx8VU1s02xRNYXlQcnliZO5 9CE0vNnUqHE9GwmwRc2Zwbt43wFSG6P910iHojeA+9ZH+cvJdcsrgFuXk4yar7zfC6e8 n1rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=XDl6lxtC; 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 h15si19331297plo.540.2022.02.18.06.54.59; Fri, 18 Feb 2022 06:55:17 -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=XDl6lxtC; 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 S234676AbiBRLhQ (ORCPT + 99 others); Fri, 18 Feb 2022 06:37:16 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234577AbiBRLgk (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 2373A2B1A92 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 9EB512244E; Fri, 18 Feb 2022 12:36:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645184176; 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=DvTwO/d5q8PM9u/lLrOXBuccah4W7HSyVD2GJr3f7lQ=; b=XDl6lxtCVyKnGj0DTdsfpAhoPHFTbnDLHXb/ynWzXKIkSWq+8gJWybASJTjLJmhypzwBm3 8skDhTEqYzewTR/5Rh56oyVOsKeQbBGnGnJdJZgqeojo0WV3Gvrj278803aCZNgDRRHINL i8+yj3455Xz2ptTV6KpxQwsbIC6d8kQ= 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 08/32] mtd: spi-nor: intel: unify function names Date: Fri, 18 Feb 2022 12:35:43 +0100 Message-Id: <20220218113607.1360020-9-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/intel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/intel.c b/drivers/mtd/spi-nor/intel.c index d64e114e9fb4..9179f2d09cba 100644 --- a/drivers/mtd/spi-nor/intel.c +++ b/drivers/mtd/spi-nor/intel.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info intel_parts[] = { +static const struct flash_info intel_nor_parts[] = { /* Intel/Numonyx -- xxxs33b */ { "160s33b", INFO(0x898911, 0, 64 * 1024, 32) FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) }, @@ -20,6 +20,6 @@ static const struct flash_info intel_parts[] = { const struct spi_nor_manufacturer spi_nor_intel = { .name = "intel", - .parts = intel_parts, - .nparts = ARRAY_SIZE(intel_parts), + .parts = intel_nor_parts, + .nparts = ARRAY_SIZE(intel_nor_parts), }; -- 2.30.2