Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1238479pxb; Fri, 18 Feb 2022 03:44:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7qVzmI4PKdycQBVMm4qevbuK0IVVAlJ4kUs3GTzssKgByM873lCtexLtut+vLZnwXDoRg X-Received: by 2002:a63:b62:0:b0:36c:6f6a:5f9a with SMTP id a34-20020a630b62000000b0036c6f6a5f9amr5834573pgl.324.1645184654238; Fri, 18 Feb 2022 03:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645184654; cv=none; d=google.com; s=arc-20160816; b=ypde5E+4jb85Ed1TCGPa2iXt3xVZHu5glDTziJvtyNwuEcSxeVWiDjZfhBbv8tw9HO GRdPgTezU0p5+7WRZNfBW9bUdtP+HCNf85WH1e4wcRXN5kQxd/XMVWTXIbJgmvpKdZHL ur7u+tBgXTvn2AMB19fMSQ1+1ejkhbYZqzJsOuQpEQLRLVVFr5EcF1fZiLgQ0600vjFJ 4RyN+eO5SEszW6w4ojn3bKo9Po9eSW4N1uvTOAZH47APZefIjrXIaqr5Z5+ykCCQLi1k WezaMZ6OW2wQ+XvXcIxr/AY3A3e3Mk7LdjTTF9OTGIWJkwnh6lIOxuRWMIEsibwymZdz u/FQ== 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=mCboYF2SsSwR+fiVXOGx/OmbS97AWmo5FY5yos1xu8s=; b=wkoyJwXwPtgRU48O+tm9fsm0+GLY+e+67fkzDED/gapUHQWPfVO2fQIDEEyyYoc3Rp pTgaQ3++axAK29soL+dSm47cVJrytvrCxRO5U2HpOjmGfox5ZH11BRqyCXWMi+4aTZmG E1IMpQiBlt0odqcG2dlLxquv4oCf5nmWx5s/otH+2d8VPYdrcVZeaf8OVu0eDHoxwC++ +ut8aRqm5CkDEm9kvz660O+wdxs9uDIp105v6pQjh8bmB0OltbF4F2Xpn8vUq/YRZ5DH /oRyBGbd3qwL+01DUHq4HQXNAAChdZPE35KVB5f0BbTA+kElBrwCDF0XqUaVv6+x8FOM r9Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=lrZXtSwF; 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 g18si2204358pfj.77.2022.02.18.03.44.00; Fri, 18 Feb 2022 03:44:14 -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=lrZXtSwF; 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 S234643AbiBRLgy (ORCPT + 99 others); Fri, 18 Feb 2022 06:36:54 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234560AbiBRLgh (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 538582B102C for ; Fri, 18 Feb 2022 03:36:17 -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 8A6F1223F7; 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=mCboYF2SsSwR+fiVXOGx/OmbS97AWmo5FY5yos1xu8s=; b=lrZXtSwF7GPJIStf4kmx+wXh/pbisjkjkL0K9wBTjfUcXDblkeKvUCOw9D+GVUo0Qkpt6i G0xJ43KEp0fYUDEaQ5TUj0bJsRUb/gG66Y4Z4ApS4MPLWOE5UkMEkMG70mvDSQl8MG0hvP BF1m23Kr+dfiLYKB6K3VWWfpCuoqVTk= 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 04/32] mtd: spi-nor: esmt: unify function names Date: Fri, 18 Feb 2022 12:35:39 +0100 Message-Id: <20220218113607.1360020-5-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/esmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/esmt.c b/drivers/mtd/spi-nor/esmt.c index ace1da221566..79e2408f4998 100644 --- a/drivers/mtd/spi-nor/esmt.c +++ b/drivers/mtd/spi-nor/esmt.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info esmt_parts[] = { +static const struct flash_info esmt_nor_parts[] = { /* ESMT */ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64) FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) @@ -23,6 +23,6 @@ static const struct flash_info esmt_parts[] = { const struct spi_nor_manufacturer spi_nor_esmt = { .name = "esmt", - .parts = esmt_parts, - .nparts = ARRAY_SIZE(esmt_parts), + .parts = esmt_nor_parts, + .nparts = ARRAY_SIZE(esmt_nor_parts), }; -- 2.30.2