X-Received: by 2002:aa7:cf15:0:b0:410:d26b:c8d5 with SMTP id a21-20020aa7cf15000000b00410d26bc8d5mr1062961edy.134.1645646791662; Wed, 23 Feb 2022 12:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645646791; cv=none; d=google.com; s=arc-20160816; b=dkhbssf09ACkdY7RvPHwStB0uz/h/lOY3xgGKpxdvgUNikhFiitHDc2UsWrFnGdhqa pa5dbm27dcZ6AL0ztQUqYYMz/fcKW+yRUuAtAzTYwCaQ2/D4KkjupcT6RcrVgSK+25TC XpGrm7ZfpGsx0xs2Zo1L0kYWz56ILlvNBsndCy1GInHxAat+Qhtd9S1ag4OFk27bim1N ehT84FnrMs7ei27TQxRLLV+HJ4r11osz14kKkm0HQYT+FIiVDsZRXVg7kAocpyX1pA2M wZn2M3W2P7CpHkJhLaeMDO86RRxC31bAbt2V6QcDHjUgAjRZqs6ievZg1tpkp7Hly1VJ LdEA== 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=9H1QgT0l/ROJ6PbNq9W4bHH9dAqSu2ls1W1SdcFcyg0=; b=mNZmfzx56/4yGbw20/MGDyIYgP4rFkFiAZ8Ltwf2/bnLIJEe9zTJgQSrxVXTeDPjDm 38NYjK5GkI1YuBN9lZD0+BSGJcNzggRNTs9+49dBPHoPbqiQL7Dn0Ta+bAG/PHn/89Kh ZiSAYRkICZELGOfa4Qhw1bYWr6LK0bPKs1icn8lW1a/VxHb3YjJJ5E3a8YLfj3lrbziP Ce+ULfHKd9IFLtu9MF7ntGmqBLDiiTkYS3MZWi3ATp/dIkv4Kt+ZQnRrIOBJwQJQcO20 2uDSKFy1IFuxzwAwRBMdq6j/y8exxryInJxnqvA5lY1bILU8Yd6n0XBA21ACRX9G933N uXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=ZfXzB2Fz; 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 hp41si297701ejc.356.2022.02.23.12.06.06; Wed, 23 Feb 2022 12:06:31 -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=ZfXzB2Fz; 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 S241084AbiBWNpB (ORCPT + 99 others); Wed, 23 Feb 2022 08:45:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241032AbiBWNog (ORCPT ); Wed, 23 Feb 2022 08:44:36 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34BA8AC901 for ; Wed, 23 Feb 2022 05:44:09 -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 881DD22438; Wed, 23 Feb 2022 14:44:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645623847; 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=9H1QgT0l/ROJ6PbNq9W4bHH9dAqSu2ls1W1SdcFcyg0=; b=ZfXzB2FziwAZcTTzMMdqvYGJ1L5DpfuxO2THZ8BbyFI7tBMfx2H2aXRKDw8auFI0C1d2sg AX7Zs8qcFjJMITlBv12splfBlCH1MVRlxBCtZvdoa/JgNa1/yTWncfdZMhLQPqpdf8xsyC 6M3jc013RfJbTN975IV3Y2x2TD9GVsI= 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 08/32] mtd: spi-nor: intel: unify function names Date: Wed, 23 Feb 2022 14:43:34 +0100 Message-Id: <20220223134358.1914798-9-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/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