Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3628725pxb; Mon, 21 Feb 2022 02:14:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFnat9LvIA2QN65D//GG9KVAKy7csMfF++69+o7pBnSQ8WnSwsS/sSh3LuA4/p2awvz51Z X-Received: by 2002:a17:902:a989:b0:14f:969b:f6b6 with SMTP id bh9-20020a170902a98900b0014f969bf6b6mr8272031plb.15.1645438455974; Mon, 21 Feb 2022 02:14:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645438455; cv=none; d=google.com; s=arc-20160816; b=NYiqBFMv1rlR/4iPaP/tipWo0NDXklAwfYD6ErsTte4hABKF4yzjM55IUgNmo+O+Yp ENPKPgGBiALpjSGkKGaKXg31XOHlK5zKhKl7lZiFKTlcxOvbI/j7YT316SnX35pGDMpr iuPRJyBtU50D9xgDvyL7n+fnwJl2uE12S55uEi0UvH10UCyqbuZ6EzuZftvQAvARkUz1 APvIUQLcVTU1yc9UvNBP/Y7S1ZuwphOFQSlKA4F2qoC4WGVDAGB3V3DIBytL9FJSBJAn +v+boy7Nd3qwpn+COboT+A1s9coYfAzRGOXjV0bXjah08m3z6VwJIdF4AhKox1QXLSHR iTTA== 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=+M6UwjGFgGoOTMo2mov0gAB3NTo1luIHUwJ/R+oMONc=; b=lY6ckJvYDTv57ixYnUoHFMKioY9ZI5URpHNNFL9z4cZxzQSl1kIZBfc+IEOfyKceb+ fZ/HFP04ij9MSTtAeb3KE+3vuIn25hs0SXrDcmEh4sT3XY+o46n6yBOFkNUucTvtAXAo 4m98BRxHqkQ5mEQIgiHH/hO5xbyK2MB0HxinlMJIAxEPRYUnDL5tmkdeATa8RZYZM9wB 17YPykcmALKGHy/59qVMEUT7duWkwVCQD6hnjvzjP1ErXQirhdMQyAI+K3lVJ8QkstWg mpf07cnsy5DFIK+JTnkjKWmsLBdli41lpLRQVHqmUEpUAaOV1M2OHjN1JLwrCo9CadPt Bf7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=kJsKiEEN; 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 c22si6366318pgj.711.2022.02.21.02.14.02; Mon, 21 Feb 2022 02:14:15 -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=kJsKiEEN; 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 S1345220AbiBUIyP (ORCPT + 99 others); Mon, 21 Feb 2022 03:54:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345667AbiBUIxT (ORCPT ); Mon, 21 Feb 2022 03:53:19 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE771192BC for ; Mon, 21 Feb 2022 00:52:49 -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 F3853223ED; Mon, 21 Feb 2022 09:52:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645433568; 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=+M6UwjGFgGoOTMo2mov0gAB3NTo1luIHUwJ/R+oMONc=; b=kJsKiEENMNg339YEBZQHvexT0fW+i8z/0eKjRR1oDRw4945utgPgvo/xKkcaCk/Vq34ATT r/PQKxjStMt8IKBUCnFT7Q/cReL8aRPBgIYG9qM0aLiNnFSq9DqNRruNhaW2n8eIFxwB9q IrE50syyNKWOSIbNmqhqmJCHCBzUg64= 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 02/32] mtd: spi-nor: catalyst: unify function names Date: Mon, 21 Feb 2022 09:52:06 +0100 Message-Id: <20220221085236.1452024-3-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/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