Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1293137pxb; Fri, 18 Feb 2022 04:57:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKv96hm0aZDxgu+N1tYBn6zRdgBI5b4sxMo79G0npfqqG1l+nTulEWb323Skk5yD23EcWM X-Received: by 2002:a05:6402:50cd:b0:410:5da3:b569 with SMTP id h13-20020a05640250cd00b004105da3b569mr8003079edb.188.1645189060069; Fri, 18 Feb 2022 04:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645189060; cv=none; d=google.com; s=arc-20160816; b=CbKmigm5G2uIVPQNOcx3R/aUNidyqA5P0P9xMeOmAaSqFbwdu4AzUZA9PV6FNv4fB2 pz798jFUKslnZ1FYV72Av0OKrCRIRHLiqOWx7S1VbKJdFPIzF5gHSB9ya8KRu6JcsyN/ RPBMIkBR/9Fvq6lcBspkZflUHFE+BZg7kuTtgIlzn6bgC/AXQ9DEEVlJfJAUoVxs3LAW 1Y7pdR30jt2AFQTylVXyqBwcxvZtqRAdJHiqe3+eLck3JLWXnghiEZm6v8+IC0236JdW lnIm1k6hSIEYzD1hn+lFmdCJ2l9ajTypC2WxBlK7Prk4M9T0h/HhwnjaJWcOUNJQhQnB qpBA== 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=UD6+0Z6yibRsOdt8zn1BhQmKZUwO1fab/PtnzMpVPlk=; b=i+JRco1nUSslfI7dNfZyX+swKoHpr0/oa2kYx5/krVvnPr/X5fCNsNdchmbX9Cd6Ms 82oA3xXUZtdNVXZz0kZqTlsmtJqzSmL6qIbaVZoWH2zG2eAmvtpmqHnytSonfL6AROqO jI4pDz2V5XtrVRQe5IKMuZExUn/EC5uHuW3V/f3HzQWYfp1WrLUmtc+HVz/DoUSJH2ki gCLwxku2jH3nGcy4UDmVP6+i9WdhTAApahmyMRqWbLExJpApsRu9T3EUsi3frhCoAcQ6 4uwZTEeq5APi8sk+mdorEHeXL7/aBySZ08ws97WBSz7w0n5xwuEv9UkN61M6t+/le5/K Rhvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=qlEhJUbr; 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 c18si6224095edj.541.2022.02.18.04.57.16; Fri, 18 Feb 2022 04:57:40 -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=qlEhJUbr; 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 S234636AbiBRLgv (ORCPT + 99 others); Fri, 18 Feb 2022 06:36:51 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234559AbiBRLgh (ORCPT ); Fri, 18 Feb 2022 06:36:37 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D25802B0B38 for ; Fri, 18 Feb 2022 03:36:16 -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 096EC223F0; 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=UD6+0Z6yibRsOdt8zn1BhQmKZUwO1fab/PtnzMpVPlk=; b=qlEhJUbrs65qllmKyx6mDETOJaPX+DBHXUK++Ig6cSbTKlWgbs3J4QhYou+sPHMdijHgWN syNvrjECpgE7frCMOR45mCrOFnYf/WqUTzjKhJMquzgFKAXhfw/Cgd2SKg9v432Qm/NWyu bsTBiQsawtEa3xp59T/URB4XjA0dkDg= 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 02/32] mtd: spi-nor: catalyst: unify function names Date: Fri, 18 Feb 2022 12:35:37 +0100 Message-Id: <20220218113607.1360020-3-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/catalyst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/catalyst.c b/drivers/mtd/spi-nor/catalyst.c index ae4d67e01bb3..6d310815fb12 100644 --- a/drivers/mtd/spi-nor/catalyst.c +++ b/drivers/mtd/spi-nor/catalyst.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info catalyst_parts[] = { +static const struct flash_info catalyst_nor_parts[] = { /* Catalyst / On Semiconductor -- non-JEDEC */ { "cat25c11", CAT25_INFO(16, 8, 16, 1) }, { "cat25c03", CAT25_INFO(32, 8, 16, 2) }, @@ -19,6 +19,6 @@ static const struct flash_info catalyst_parts[] = { const struct spi_nor_manufacturer spi_nor_catalyst = { .name = "catalyst", - .parts = catalyst_parts, - .nparts = ARRAY_SIZE(catalyst_parts), + .parts = catalyst_nor_parts, + .nparts = ARRAY_SIZE(catalyst_nor_parts), }; -- 2.30.2