Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1243238pxb; Fri, 18 Feb 2022 03:51:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIOo5TUkP7waqHGVMKs0f4TjeDJyNqCL9W1P7zhUM61XaGNVMLRRhZBdhnzj9rwUIm5HKT X-Received: by 2002:a17:906:848a:b0:6ce:b94d:b907 with SMTP id m10-20020a170906848a00b006ceb94db907mr5958833ejx.310.1645185090012; Fri, 18 Feb 2022 03:51:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645185090; cv=none; d=google.com; s=arc-20160816; b=U9pXwGkLPhE8rKjqEr9WpdrIBXboCCgc1FlSd+a+9AnVXFyebQTj6ocDvuXUWckema RhLNSIGxJByZRYfbD7TLLpNXtb8jBjdNh60Po3uegJcL8NOOzn1rESUN7BDbP2bYXFX+ dIPd8mmX9nC1FsdvHTkv7ptHOaKX0Y9CsCXVfVrYbHk3Bs/vsuHggIwRE6i/I2Sway81 l9OxdShCfnBkE80UPSpeLyjWLdX2NVGVReHDHtpG0lAp/9ST/iLTq1EbNDikYQVuVuz4 U9m45ptq1omKxyM+CT4F9GNc9Gb0WMLhwXDSWB/qF58Hcx97PtLoqIIdooKi4lZNlf17 52Og== 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=dtG66nP664HjdKC0+87lNjjaUhGXO0bMlmKnlKGD5d0=; b=Im7SwI1GMr64RbmB0gkVRzaY7h3ehrF4ZZGdVzKcZYI5YO9ckW2mlLe5U9PC8+t7B6 goPLBXyhLW+qh3xkwsZsPxxz2XGVOV8v90ZmMgev4Kpjhxdt/Hdf5Dd1oewZUi/pUYyu 4IjTKYsPlK7YY9ZMAV0gEamzpdZJYX+OY1Jz7W4jpF7S/HuKPkZs54dnnRBrg2ZHzIX0 sFmzj3zv+JD0zAM3voTshWfNSCWiwjPj3SiRANjBoB1+p4+Cyxaubm1ADjMAla8HQWTU EnaI7yx1srVkYZ0Xc4xnKGQZIqmYKRfJ59EjZpCkGNYwYwhzHhQPbjVXFvQ7nX4fK46o nmvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=GMd3bir1; 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 u8si1997239ejf.929.2022.02.18.03.51.05; Fri, 18 Feb 2022 03:51:30 -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=GMd3bir1; 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 S234660AbiBRLg7 (ORCPT + 99 others); Fri, 18 Feb 2022 06:36:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234564AbiBRLgi (ORCPT ); Fri, 18 Feb 2022 06:36:38 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AEC22B1662 for ; Fri, 18 Feb 2022 03:36:21 -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 1CD6822438; Fri, 18 Feb 2022 12:36:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645184176; 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=dtG66nP664HjdKC0+87lNjjaUhGXO0bMlmKnlKGD5d0=; b=GMd3bir1YRH6VWLE9FpodmsL22ZQtAUK/r4tep2ko9iZGLRJgFO+B7IcdhTMEjL9+n/e5K 6KMV5AjTOXovy/D2mNdViy+WE6z2uQlJ5Ca4+iB3GmZW97XEgWdLb0cQslpZQrGi+5gIKr xq03KG5EZd1aH5pOt0R2x/v3wu7ymWE= 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 06/32] mtd: spi-nor: fujitsu: unify function names Date: Fri, 18 Feb 2022 12:35:41 +0100 Message-Id: <20220218113607.1360020-7-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/fujitsu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/fujitsu.c b/drivers/mtd/spi-nor/fujitsu.c index 5fa8f04f2e35..69cffc5c73ef 100644 --- a/drivers/mtd/spi-nor/fujitsu.c +++ b/drivers/mtd/spi-nor/fujitsu.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info fujitsu_parts[] = { +static const struct flash_info fujitsu_nor_parts[] = { /* Fujitsu */ { "mb85rs1mt", INFO(0x047f27, 0, 128 * 1024, 1) FLAGS(SPI_NOR_NO_ERASE) }, @@ -16,6 +16,6 @@ static const struct flash_info fujitsu_parts[] = { const struct spi_nor_manufacturer spi_nor_fujitsu = { .name = "fujitsu", - .parts = fujitsu_parts, - .nparts = ARRAY_SIZE(fujitsu_parts), + .parts = fujitsu_nor_parts, + .nparts = ARRAY_SIZE(fujitsu_nor_parts), }; -- 2.30.2