X-Received: by 2002:a05:6402:1941:b0:413:2b7e:676e with SMTP id f1-20020a056402194100b004132b7e676emr981943edz.114.1645645218858; Wed, 23 Feb 2022 11:40:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645645218; cv=none; d=google.com; s=arc-20160816; b=FK+hnUkjqkwCCDFTjj2DP6NhRIdddi2p9Ls/gH6yhTV9eAwSDxksw+OUQr5il9s/u8 Eh25mKp+ikVWYzPuAJCplcbrZPNSHYjOBarZyQzAyy8IfkYlKxYrG9Onnp/GGoupqFYF S8MivsH4lpSyuPgUIpB/g1BdRub9dkX3HVTE7wX7G0RKNKlxqcA5fB42lcEOPf2pW/uK eEIDKEyWLZGwRBP1H1yVkCSt3wOLS1tk91DuLYs3JMfedQL3RDzWTKC+sri95Fo4xWa9 GcFly5dhQ0PKwq5q+tP1+gUZZhcUaKSE9jxuz6Ux1aUqmFQHtMa436EUa8fsi8J1eOdp 4hhg== 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=k/hqMmrzoRoWJwWZtaVFPrkzeSIrjpsXVnI5pXFm2mI=; b=vkCFfvmuqFox757S9ZLhhgO698xQvd6PYt7yokHQIehmmdR9MKdkOiggcniC/R/GLe SUj63vQUOVyKZq35ym7EU0EImen6g/f3zipvfcX1SW9A3N0sE2Z6dVOr02gHrtQlJLwX XtAnakjumSvHwQn+Fzy6ajm/szCJj9B7+GmHfNL5y+vAYEz26/QdTgsQq4lQK8dcV4f+ qZZasPno/Oq7f13RrUIWb/Z8kTkSBsacxZ/WEkelJIjJdkKy2bdCWMoA6+x67QuaLDPB 9cfIeN+psdsdu/q++0aVcPwzBm5PQWrApkT0dbi840bFb1TWq6iTRt1J+i+N+V7yh/+M xhYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=rWHU3XMS; 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 g4si291506ejs.185.2022.02.23.11.39.48; Wed, 23 Feb 2022 11:40:18 -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=rWHU3XMS; 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 S241064AbiBWNo5 (ORCPT + 99 others); Wed, 23 Feb 2022 08:44:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241031AbiBWNog (ORCPT ); Wed, 23 Feb 2022 08:44:36 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A7BDAC903 for ; Wed, 23 Feb 2022 05:44:08 -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 0B3D4223F7; 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=k/hqMmrzoRoWJwWZtaVFPrkzeSIrjpsXVnI5pXFm2mI=; b=rWHU3XMSc9yDw4CaREp4+r+PVuUFKynLVjbDw+k5HlZxM3X+Dhe728CMAX9eA4f9ZMxwlZ WabQzo+evyBYcRTXXieO2x/Y7G9vR+B8GOO2ARO94c19lUNfVAceQoydBkEtEksgLJYFVP HzKmWuYHKL+7JpJ8eowB4ujfj0u/6H0= 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 06/32] mtd: spi-nor: fujitsu: unify function names Date: Wed, 23 Feb 2022 14:43:32 +0100 Message-Id: <20220223134358.1914798-7-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=-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 Acked-by: Pratyush Yadav --- 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