Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1035083pxm; Wed, 23 Feb 2022 16:28:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyJvhG+Qn+pSQbV1F6GXJHhgjOZ80eZhlmk1EFrPcPFAbVLhlwO0nEKQLGHpU7PlRUwzBu X-Received: by 2002:a17:90b:3ce:b0:1bc:7783:4ce0 with SMTP id go14-20020a17090b03ce00b001bc77834ce0mr147526pjb.60.1645662498410; Wed, 23 Feb 2022 16:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645662498; cv=none; d=google.com; s=arc-20160816; b=ELcH8IcDnhZZo0ShoXtX3BbHMUyCJhbIcc8xvHJKDyGOMSkJBq/hKDfac6p4VKwFTY 8wdfb8m8C9fxSoFLfPhOScuvIBo1UvdSm0Gs770uxKYO55zXoa0ADxsPmI4hvWPmGz6Q wnDJYqjRh3Zp7qJ/hKTfNKtjcNCLM5sf79G76xIj0eqz32dZNF6DQDafefBg6rOdHXfP 9RMhE7Y8UPH0+Z0XiaHsDfrLrwee+XZ2DsFelTsKzoxjFFSxQGzlqoZaV3mdK1Fu4Of/ 54eLKzARu34aUSVqdCvj9VBhSwP0ylLVe6vzh0nieTJsENeNS6CHPiJ2ThX4sYiOYYxT nhIg== 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=5NdLJVXZ/dtLRMdfMSUr7KgGIAvU7mDPEd3rJRjy/cI=; b=Oj0dgw2BROB3KejWIEyNUZ2bHCVP5jd9mM9EyLV9t0ZpBnbs+s6DHIsFiZyumuqHHL KOIfS569kvPk2wJPzasFFhhufLVi95upqn753ew61W9wltuMJf60kscScugkdm6D0eAV anxO4P5J2kel4Ha1zfTBEAipSsqadpTFfO3OoQITTZYQ7NLbPYyC93OEYgv/wJ/Hnjyv XDSlrPKhhTaI5t8MfhHql3IKsNwf4pMe+nzzK+dMmowusIAqeqb2BggPt2LgTvS2nepB MX01yR0/EpuJZF+6i9wVJseML+n66ipn862ZjTUkI4QIvN7n/sCoelT9AaMB6LuyVazg KdZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=kmHW1+5H; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id mh8si1033188pjb.38.2022.02.23.16.28.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 16:28:18 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=kmHW1+5H; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A1C976AA63; Wed, 23 Feb 2022 16:27:51 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241107AbiBWNpF (ORCPT + 99 others); Wed, 23 Feb 2022 08:45:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241034AbiBWNog (ORCPT ); Wed, 23 Feb 2022 08:44:36 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28DD5AC07E for ; Wed, 23 Feb 2022 05:44:09 -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 473172241C; Wed, 23 Feb 2022 14:44:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645623847; 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=5NdLJVXZ/dtLRMdfMSUr7KgGIAvU7mDPEd3rJRjy/cI=; b=kmHW1+5HTs27hYVZp79Sw7eVqXWAmxsYCwghxG13VU7SZKN55Nwnl2Ejo+zU8MmABgswDz TrfAu4Ug2ZvuTuZhi3EBH5NnD1PWkRZTQxmXCOMCECFweIlDWA44NNg8RSOX1VyRPOezzc qiXleGVKps89JgZUdFj/LO+hjR37EZM= 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 v5 07/32] mtd: spi-nor: gigadevice: unify function names Date: Wed, 23 Feb 2022 14:43:33 +0100 Message-Id: <20220223134358.1914798-8-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220223134358.1914798-1-michael@walle.cc> References: <20220223134358.1914798-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Acked-by: Pratyush Yadav --- 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