X-Received: by 2002:aa7:d2d5:0:b0:410:8765:d2de with SMTP id k21-20020aa7d2d5000000b004108765d2demr34002edr.148.1645631161930; Wed, 23 Feb 2022 07:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645631161; cv=none; d=google.com; s=arc-20160816; b=RW4UDzPdKyGKhnXaAsVAtHQMPlyu5Ee3dFJz0yR3jdQVADv6IAr0uuLlAz1/XLMS8t eszLGKiPuaalG3eAHKXVqBCYIMQoZtGroN1guOE8XeohniLts5jh5zFKCz809iA0+Fco oMMRnH0RwjGBb8t4Vz0hAg6oKN3YXnP2f8tYhbvkP1LU/vzxPFnSg1aQBZUjsXtQ7hKW XNpASZKZAANIg5E9vlkElSi1YlVLnCQP0GPJ2dYw3sQBZIp6cj2lcckMS7gq6fX0GYo8 nveRlkyOYcrIvVjf+hPk6mtQ+xVTqYbN8gNrpRGzHZx6JpRW1XEjYg26Aqr7u5XC3ks5 /MmQ== 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=v8kj4z85YfDGYN2RrUp3+LkianQys9bzXdTacdc1Pnc=; b=iU0FEoz/gkwBXMw5veeZnpmQQyd+Cx/hDS9/I4OKv8xMsgZrPppJJ3HQKp923aoN5r 4xxb7XUFFznYKsvB969CmMMAWLsJoP68W+46FVfs6ayy2lJsvh+NKWI1SGnwQi2VnZ5l 7O/NVh2VB4vXzhgTFAqUv6RwRvzbTeqhXA9cYQKYj8YT0TqR++duH5itNB4k+ETj+aYj 3f6XVFWBARziPdc0iO/m82fCmnucK5SzFrrbeXSplc01M5hq1bCzv+S6uYERIJz/swpw 1cqFSpWAU6tozWwdDI/WJFGWXkbwcXehV0wjElFDp639uXAxhhvKiMF1MX7f2c1HNXeK a1AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=AxsuG8vX; 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 du19si12982487ejc.638.2022.02.23.07.45.36; Wed, 23 Feb 2022 07:46:01 -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=AxsuG8vX; 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 S241061AbiBWNor (ORCPT + 99 others); Wed, 23 Feb 2022 08:44:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240776AbiBWNof (ORCPT ); Wed, 23 Feb 2022 08:44:35 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7164AC901 for ; Wed, 23 Feb 2022 05:44:07 -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 C703A223EF; Wed, 23 Feb 2022 14:44:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645623845; 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=v8kj4z85YfDGYN2RrUp3+LkianQys9bzXdTacdc1Pnc=; b=AxsuG8vXO9+h5o+EyNbLQvDDVbifVrpxYWBmO4JuUcu83pLI42vriNP8abeqE1Ih7Up2Pk VPrqFnxR5JE6nI7Y+agHg8dLtKbuoCS45CKYW+Aadd4naEBNO+kqMFuTcvljxu86ic6XNz TgzQXAMaMYAdElA6IixeV0FFloAMM+I= 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 03/32] mtd: spi-nor: eon: unify function names Date: Wed, 23 Feb 2022 14:43:29 +0100 Message-Id: <20220223134358.1914798-4-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/eon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/eon.c b/drivers/mtd/spi-nor/eon.c index 4f3ee6331f37..8c1c57530281 100644 --- a/drivers/mtd/spi-nor/eon.c +++ b/drivers/mtd/spi-nor/eon.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info eon_parts[] = { +static const struct flash_info eon_nor_parts[] = { /* EON -- en25xxx */ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64) NO_SFDP_FLAGS(SECT_4K) }, @@ -32,6 +32,6 @@ static const struct flash_info eon_parts[] = { const struct spi_nor_manufacturer spi_nor_eon = { .name = "eon", - .parts = eon_parts, - .nparts = ARRAY_SIZE(eon_parts), + .parts = eon_nor_parts, + .nparts = ARRAY_SIZE(eon_nor_parts), }; -- 2.30.2