Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3631556pxb; Mon, 21 Feb 2022 02:18:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJybmcHnVNNenwwEwXME605jjc/w2ULjZKr7HtpJ32R6UGxU+LmAuGsFJbOYWg2h7c349RiV X-Received: by 2002:a17:90b:30cb:b0:1bb:fa5e:68a with SMTP id hi11-20020a17090b30cb00b001bbfa5e068amr10147270pjb.5.1645438722750; Mon, 21 Feb 2022 02:18:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645438722; cv=none; d=google.com; s=arc-20160816; b=JTzzMkNyR4KCsb24b/MBJ2xmUX7WlMipTu6Cy5R3EXWY0AmhWqLOMTrDONzKJcl41E blIJXCoiX0wj2zDq2P5POJoZ3UYA+kC6Q+KGc1MbSyI2RHOO1E2zdgIx30SHKSg1sxK9 pMUiXD5QpXPJpccin7VwVNOefSBzom3jZgnJOlPKf3b35FD3ZUsarWA9MNKOGKKFOj3y QY/qUgGYBKB/PtmvbzQYnkl6p7/igeRy0eiMUb52uYv9cP2+TG4manvuWrFyL98wzw6j aYlJs6KJ7v4rgZfBVN94CH3ybm+CEHRVdqRORI9RL1OfS0b3ve8OfC4K474lMYUYn3Ze 4rwg== 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=Rn1oW6aFXizxZtpF4apAEA9nQ0euOpxJBqkTidXgq28=; b=lLo3/v1M9Bg++VRailrVyo7Qndbe0Rob1s8NW9wjrDszanDf8bv4xv7Uw7qbxgk/tn T5uXBs+CVfqVT8SRRKroFUI/qeIuNaFyuzKg4LR0spQIEevQQzq8rECGIggRME1zpiT/ 0UvlEuZhVUiCzOfSsVZ2mNJV+KU/cqZIH1pSeL009NIVUM8mQhk06Ojh8eLLKWyuXiS1 4+S/UwtYdW5HAHs7lN0TvulS5KIosnG0Wm26ZDHW1Jp1rtGeoKvYszgJ6MsSgzRmCKwM PY3ooaKsrQ1Cf0RGeAupivRbQiETmMfwVQykPl5QLoo9JyJV1rbNyvFGBmCSCMjj0psG urcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="uq62Qq/V"; 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 s138si17051550pgs.42.2022.02.21.02.18.28; Mon, 21 Feb 2022 02:18:42 -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="uq62Qq/V"; 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 S1345645AbiBUIyv (ORCPT + 99 others); Mon, 21 Feb 2022 03:54:51 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345670AbiBUIxX (ORCPT ); Mon, 21 Feb 2022 03:53:23 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80FBD1A380 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 D255B223F7; 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=Rn1oW6aFXizxZtpF4apAEA9nQ0euOpxJBqkTidXgq28=; b=uq62Qq/VneKwFgfUkU1yD6pqdEORrV1Wysny2H5Cp8L1rWgfW56FRh/2eBhsG41AXmvExP 4aHLqHYqcV/DsTBNK8z0UAqektt+rAdC0jQoNd3i5rb2PaDHEufbxKvUrTpuTprlNKdjTe bwga6usGUwUDaEEnHEabknoX0YXf680= 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 06/32] mtd: spi-nor: fujitsu: unify function names Date: Mon, 21 Feb 2022 09:52:10 +0100 Message-Id: <20220221085236.1452024-7-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/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