Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3630884pxb; Mon, 21 Feb 2022 02:17:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxicNb4q6s53kzrZk/mXaOw/hkI5Qr/HzncHPHWmfom1HllUdCgUcRaOu63usXt/Tkg2583 X-Received: by 2002:a65:4845:0:b0:325:c147:146d with SMTP id i5-20020a654845000000b00325c147146dmr16023286pgs.140.1645438660772; Mon, 21 Feb 2022 02:17:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645438660; cv=none; d=google.com; s=arc-20160816; b=oDMJ731aChZBCJkp/MHzd7AfGuqT/hn7JmKHG9FZrI9OXo41WTsNFbpkduaKzxIBKM qYZTBR5bhUsObzdR3YiK0C3bHaofrPDcyZQY4dAC+pQ8UXJyeZE9Fr/mJ9Gtr2ClDbor 5mdjSZqXwF7glCFIAgR4rrWjrg03ZsBedlJdz/5Hrz0T2ZSFgF8XYz0sObtlOtroQ1wg DxNpv+Uh2Es/leNN6UzZjrG2knGHsmGqazn/CbZUDkh7fsNm0g/EKjsWxTLhxaBZi/Ai 3PrM+8IL0bilxAuiOKH43pXdZU0OVjTh+Bwayhy/L/TCiBgPAXR9aOpyumNqCozE9Aub VaMQ== 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=lNrji++2h4wwqRBGkUOCg0MJwhNDbhP7VF1zV51yR6k=; b=Jnprk2ff7/tP2OQ2SmdV+Fr9I1qXUkeWUF0GwxctodS/q0y6+0DyB0+MfoTicsynrr 8ePLMxXlrAeAl3e2kyREddxZL88Fj5UKEMzYfjR2aMeAgSfi2qsMo7osqhMCT67xOHwy hyf4MHlWUbj9SZpEOO7LU1PQlWpy4nLSvf0HS2bTtAeJzOWG7loyXQ5OeI+8I6juKj1F ikbL2T67lpcNhWfgE3Mb09jbircwnjQ0zYtKaxGsmHjsv3ouWO9VxPLRVBuX8XQzMhoU EyYk3X/wx0ahvmwXTbLB/1fu05ldwBxyrKrs9ragM5cg4FF178jHUkmt9i541v2R/VCG WQJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=sN1A7jx8; 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 m1si6544262pfk.59.2022.02.21.02.17.14; Mon, 21 Feb 2022 02:17:40 -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=sN1A7jx8; 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 S244821AbiBUIyo (ORCPT + 99 others); Mon, 21 Feb 2022 03:54:44 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345630AbiBUIxW (ORCPT ); Mon, 21 Feb 2022 03:53:22 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A34819C02 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 2955E2241C; Mon, 21 Feb 2022 09:52:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645433570; 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=lNrji++2h4wwqRBGkUOCg0MJwhNDbhP7VF1zV51yR6k=; b=sN1A7jx85wFK0xMnAOfANZwLQcjUgo3O5VjxPwBg4s7GhAfe2fbYTzHwS5hj/prAIFneC7 AwKeIK9Fyrsy/CQJOPKMB2ev50o/SjcSTe+abm3Q03LpVkXV1f03ZnULfEdSSAOd6yt4HG S9fvXqqhS1vavkdDDSnQ8eXok6i4K0w= 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 07/32] mtd: spi-nor: gigadevice: unify function names Date: Mon, 21 Feb 2022 09:52:11 +0100 Message-Id: <20220221085236.1452024-8-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/gigadevice.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c index 0807d0263808..119b38e6fc2a 100644 --- a/drivers/mtd/spi-nor/gigadevice.c +++ b/drivers/mtd/spi-nor/gigadevice.c @@ -23,7 +23,7 @@ static const struct spi_nor_fixups gd25q256_fixups = { .default_init = gd25q256_default_init, }; -static const struct flash_info gigadevice_parts[] = { +static const struct flash_info gigadevice_nor_parts[] = { { "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32) FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | @@ -61,6 +61,6 @@ static const struct flash_info gigadevice_parts[] = { const struct spi_nor_manufacturer spi_nor_gigadevice = { .name = "gigadevice", - .parts = gigadevice_parts, - .nparts = ARRAY_SIZE(gigadevice_parts), + .parts = gigadevice_nor_parts, + .nparts = ARRAY_SIZE(gigadevice_nor_parts), }; -- 2.30.2