Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3628661pxb; Mon, 21 Feb 2022 02:14:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHrgUtGEIZ1og5YfjtqhepTZ5B6h0q26Ypb9rQYx9lpJkuFs9UOc6mKVI2sxCMvDNhFXt7 X-Received: by 2002:a17:902:9045:b0:14f:14e7:f3aa with SMTP id w5-20020a170902904500b0014f14e7f3aamr17674474plz.69.1645438449627; Mon, 21 Feb 2022 02:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645438449; cv=none; d=google.com; s=arc-20160816; b=y4mNTtsYaE38jK4EzC9oLiU1mhFD9t2OZxn20+pqrp6PzafnzDUYBf0Z2g4H9Zw/l3 uk46fJkUijidgyAL4eFiDx0pS6JbuHf/CT60SqyPJdzWNtwIAQzzypOqz6H2FAwLX+J/ lDmGbc9c/uLKPOWaPULS+NohaSEXkJgazfjv1pjopnwU8VaYq/5uONwPhuTAJZIZNGfo Lf2eIj3BQQhKYxvyhVTRDN/I8JgcvUiH/Ml24wLui7BnUdyH6yhWMIAVnAEOsWvDcC6D t5M1s1YP9sZxjOmRpLm1FkwKMU6iqfgbU4yc74rdhgImGgfG2uVKgqU4A2ZRycs/R95t zncA== 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=VH1+ZLr+3aCUvAokLgGLfn7yiFo+DMUkRJCzELQD4KI=; b=o8CpSKoupXsCQug3/HH66THw87c8HEDAo4gowpcw7M/xcsc6n9A37Gbo0tNn3qAZ7+ 1g6XQjhkBUTceOK5l63gDREPNb7LApB3pbBuay3XObjL7AtOJ9s7yg1X/lxvH+JUfFXq FwZK4JMYPHDb6+mb5Az9DIdmczXZ5rfPqfEC7VbjS+1SHfCYqorKlXHaVKnS+MUTiny5 FQIFzkCB51kyNnLNY4LUg+igmtxJeMYG1sN+NqhOLTR4IxKYBym04CC30oPS2VJmO0Md N7F48rjlOcEl9DZzyGCbTRYg172CNz9vYXXjNC1Tr5/07trdjkTiyK1T9/Sm1WdzmDFM Tr6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=lVepYD2h; 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 q4si1612761pgu.783.2022.02.21.02.13.55; Mon, 21 Feb 2022 02:14:09 -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=lVepYD2h; 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 S1345058AbiBUIyH (ORCPT + 99 others); Mon, 21 Feb 2022 03:54:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345666AbiBUIxT (ORCPT ); Mon, 21 Feb 2022 03:53:19 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E63F192BF for ; Mon, 21 Feb 2022 00:52:50 -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 5A158223EF; Mon, 21 Feb 2022 09:52:48 +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=VH1+ZLr+3aCUvAokLgGLfn7yiFo+DMUkRJCzELQD4KI=; b=lVepYD2hN6+0fXlu1bOQtYz8k+hho0ZV/dG71P+3iKg13cx7ISawHj2qB+CRyqL4L4l368 XELQWyGgpv9W/7uHR+DPDU1do33ioKxChBw87T8TQo1AOW5nK68cMUgHgLYS0QddbNWpU2 nHSUUNF4pWnFnRY8JRsKediKUqpMmRM= 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 03/32] mtd: spi-nor: eon: unify function names Date: Mon, 21 Feb 2022 09:52:07 +0100 Message-Id: <20220221085236.1452024-4-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/eon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/eon.c b/drivers/mtd/spi-nor/eon.c index 4f3ee6331f37..8c1c57530281 100644 --- a/drivers/mtd/spi-nor/eon.c +++ b/drivers/mtd/spi-nor/eon.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info eon_parts[] = { +static const struct flash_info eon_nor_parts[] = { /* EON -- en25xxx */ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64) NO_SFDP_FLAGS(SECT_4K) }, @@ -32,6 +32,6 @@ static const struct flash_info eon_parts[] = { const struct spi_nor_manufacturer spi_nor_eon = { .name = "eon", - .parts = eon_parts, - .nparts = ARRAY_SIZE(eon_parts), + .parts = eon_nor_parts, + .nparts = ARRAY_SIZE(eon_nor_parts), }; -- 2.30.2