Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3630510pxb; Mon, 21 Feb 2022 02:17:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJws8lNUeOp9/c3fkqYiOvAGhpgLFwlrH2gcpUJOclSTFVzdKFI9O5eZwWzRlrR49FPZttpK X-Received: by 2002:a17:902:f681:b0:14f:d22a:d71d with SMTP id l1-20020a170902f68100b0014fd22ad71dmr708151plg.96.1645438624749; Mon, 21 Feb 2022 02:17:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645438624; cv=none; d=google.com; s=arc-20160816; b=bRFAZYWtuBSTmgomdhUIXD2vtYR4PTzt2DOxy0G9qql5fGx39zX3WKzws9DibRXdwf IYuDgdW3Y7upks1PMs85MB7gQpKK79E9JtL5XmpOoGJSBR/dgfTRe1PSuIyjpEHF+s5v JdV00nuMRQIL5TzBLapZENaMtN5Kv9MoagdfJxvCBrzE7ulVfXcMh8PLs4YQqg0uivWo rYL+tCkKNEWa6OKX0sCgAwvzivqSB/CiWpO0yqpsl+L2561PMWuK1x2mtGHAVy2/rMN5 ffF4yXtEzdioXOl+tHuuqyIXE+goKQzUeQQS3Q25JMaos1LOC22d0C4CYrCe7nzDKmCK Np+A== 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=h8RKR2z3SwNjygYMnVzmMuumMpqceCIEGmaYanKshDw=; b=gwAsvZgmP6+FPFQ9cQxdlG9KvGwPIb0TqRuHXPNiz3D/6SjK31UbXtimL5cta+Lqpu gndroJuFemLMWOx+bfuP0PwyGq8U2bYUAugeG7VVzIJPPEbT/p+aIJ+nDoByxPl/PNJB lo2Ms0UR1PnnYieE9pC/UpncEqkpydXi+jDtDsq5ZGn+CBcZkXHndVtie5TV1G8r+S+l pWho0hmfIvcdwaFCTKGQJOtlVnPDc2i57zX5fM8eqxWxM6wMTYx+RydOBK1/lX5IY8je KXo9ZOhljyk0UBTFcRwNPqteLKeYJ15EXBhbj02ELF469tt8ArTNpUvT/4Kx/wEQeqBV /5eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=aXbJHbCo; 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 e125si17709109pgc.165.2022.02.21.02.16.50; Mon, 21 Feb 2022 02:17:04 -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=aXbJHbCo; 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 S1345690AbiBUIyd (ORCPT + 99 others); Mon, 21 Feb 2022 03:54:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345211AbiBUIxW (ORCPT ); Mon, 21 Feb 2022 03:53:22 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74748193EC for ; Mon, 21 Feb 2022 00:52:53 -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 86988223F6; Mon, 21 Feb 2022 09:52:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645433569; 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=h8RKR2z3SwNjygYMnVzmMuumMpqceCIEGmaYanKshDw=; b=aXbJHbCoTFU3ehT8PfOG2CAYrtlOY7NkQLzouhwR8oqHIeIYHOGNr6fJFRqH/OROYueXR6 rMCb/WGPGSB5FSYxjXwUpS3B3SszEyGYu7kgTyDFGLIfcJ/rod4sHPqD/ZIesB2rk4FORo dOlFKdLffw82F1aesnlwhlLFlkf64aY= 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 v3 05/32] mtd: spi-nor: everspin: unify function names Date: Mon, 21 Feb 2022 09:52:09 +0100 Message-Id: <20220221085236.1452024-6-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220221085236.1452024-1-michael@walle.cc> References: <20220221085236.1452024-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 --- 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