Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1367796pxb; Fri, 18 Feb 2022 06:28:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNvb/DsOpAlaKpgn/FHl67TCvNX+GTd0YyjicGFTbrJexYHsCaBrluhILdEKT7JX7E+PvP X-Received: by 2002:a17:906:5408:b0:6b3:acaa:b35a with SMTP id q8-20020a170906540800b006b3acaab35amr6624711ejo.514.1645194538955; Fri, 18 Feb 2022 06:28:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645194538; cv=none; d=google.com; s=arc-20160816; b=B9gEi+Mpg/EpL+tUxfPSjyxrtNy3Fxx18407s0alMzskwdsANRXexS0lCh+pM+6ucQ sycmOP2KxqK0hppY9EsqD0wvOS9K1Q48TTYiiHFTSsitw7e/uwcsS/Hlv630Lk1BY+pR I+3fP33fLvUxLfoDXyVzG73DdjhmZJRlHkBO7iMD4n1lw9W5c4GU0PFrjh1OEHliKZwB cenS1zconAKWXdKXaDf5riDOHEsJixlNEy85nAYVKkOrTg3uVe/w9zLCJB5hcLwgv3H9 UXercxJZzrf2GSlUVE/hxP60aihSYObWN2M2gZF4y2M/KX4xBvR9uQvz4YqViVrME1F6 oyPg== 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=vRIfoFnqXVSGsc4QPzE+R/oup9/PmIzQc5ULgCA1XSY=; b=f/8jN2A5/zUqzsiVtrjpk4jQD3awsAxGxzs0yNbVbxX9XxMCfYvMrpyJmKLMHi51yJ yJo88RRrzGp8P84WN+GGtoQ++tEhB4hEUYv7ZdUT7SwTin+zeNuJfFfuZDN10lKV7Hof 5C1jRXSda+8ugm1lRL2aWLgoUEkP1aLSAsoROZkMRGDaegG3hEUE8HHNlrbZM4KXIgFK GGPhS7Qg0Ov6l65QMG5g7DF9mgfgSq3cPkQJ42qDXedthC03BpPzrO0W77U30oeg8KE9 7aCddbCRBbxjT/e0h2QV+Y1qV6PFZlArbXBhNqVdoI+T3flU1/ROrpazSJAfr/BH5H0w 9lTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=GESDjJ7k; 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 a19si5685711eds.21.2022.02.18.06.28.36; Fri, 18 Feb 2022 06:28:58 -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=GESDjJ7k; 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 S234633AbiBRLhO (ORCPT + 99 others); Fri, 18 Feb 2022 06:37:14 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234570AbiBRLgk (ORCPT ); Fri, 18 Feb 2022 06:36:40 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236572B1A91 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 65E7222441; 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=vRIfoFnqXVSGsc4QPzE+R/oup9/PmIzQc5ULgCA1XSY=; b=GESDjJ7k7Yasa2e3JxZUiwjfrHdqThuKaC0Ls1TL8PS+XAaipRV2sHF9PkmFqmtbGIBS3G xAn1WC046IJNdkDO2gR4yKmrQrT51iIFRCbZCmBEp/9m50NvqqJbXnTpta/bFJdPq+DrKy PphDUYZqpt3UDtC0fnSdpK6P+1HcYlE= 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 07/32] mtd: spi-nor: gigadevice: unify function names Date: Fri, 18 Feb 2022 12:35:42 +0100 Message-Id: <20220218113607.1360020-8-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/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