Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3642907pxb; Mon, 21 Feb 2022 02:37:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZJiUR44LQdTFdqukTG5uP7EHPaxcSyu/kp0I7sry/MJwF99tttYxkSXvIwS4km0YK/CJG X-Received: by 2002:a63:ee18:0:b0:372:8466:565c with SMTP id e24-20020a63ee18000000b003728466565cmr15466705pgi.564.1645439828959; Mon, 21 Feb 2022 02:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645439828; cv=none; d=google.com; s=arc-20160816; b=PKIzAKLp0uX1nsogu4N9kFbGenKRiIxR8b8/z1b6S+7KvuHyhXS5Zf9yw9xhKOzJhf c+podfqQBgmDUhiFqJzUC71GcXG/ejF88GVXGAR6dv6mDfCqf3F3nwZH4wemuOLDLBHy tnKvjaZRI7XYcoBSj2kDsoqSZXR+fjxQtPZDZM3yOEbHauqRX52YWFrTdKO/OxXz/AV+ 0d8zSeOn5X4ZF5hNic5bz6lpNitMgBjrrluS2xXYGp5Z2lHCki7baeLDEdSt2XcpSAj9 nFYDRGqEOtvh9SU0r2rryAFenksl0OZ+SJaSxiAphGKsKdDlmjUem1tiFIrzU+BxHD+2 Ty9w== 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=YekKAd6TXPsioHYLKty3Utkd0ws17GR8Z7zVWZpBuSI=; b=Lu/eOu9Qd8Owcl/xSQ9jljLxZ25l+KfBzWo6vdIjZOIw+eZrRQ09KENTsyx5Jtew7L Ghcwb6noow8VK7xRYOSUOPgfK9ze6tE54zTmf/AUU9HeKOVLTdvPXZD3sQGBNP4xoLGc Dilkh46lNXiP17Er90iRHmtKyPT7LYfV/KfejHAvM576IqSJyHeRzkpLqvh/eRWTPDVn SjOL5vwcvHndoXq3zNnRer/5+M5X9pQLfuK39BzyNHYVV2CSnxIdWsLkhhaofVrnheZA wz6qKsWG1t3eef6Y+vKZvA1LRxuOKe+qMfhCDiZcw0rhcbP/2/A7PLfgCjGzOIzxcz3H tTGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="PyU/9G0t"; 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 k6si10013981pfc.51.2022.02.21.02.36.55; Mon, 21 Feb 2022 02:37:08 -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="PyU/9G0t"; 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 S1346020AbiBUIza (ORCPT + 99 others); Mon, 21 Feb 2022 03:55:30 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345693AbiBUIxd (ORCPT ); Mon, 21 Feb 2022 03:53:33 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31AE10C7 for ; Mon, 21 Feb 2022 00:52:57 -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 3C8CD223F6; Mon, 21 Feb 2022 09:52:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645433576; 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=YekKAd6TXPsioHYLKty3Utkd0ws17GR8Z7zVWZpBuSI=; b=PyU/9G0tV0OV88DswCduVIkSxlJKKpdPNPkuKgje28y3vZPP8v3F+a8cZd64fMs46ROrSj kCaZyIpHavrL+Cp4OZpsjg6cUkOrj10aSSbrdU83E+tlpYCnhCkEJ0sTvwUVCq1GTQZPIT BeOYtMm2X3jFz7f+2xOvry+kj/zLbkM= 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 16/32] mtd: spi-nor: xmc: unify function names Date: Mon, 21 Feb 2022 09:52:20 +0100 Message-Id: <20220221085236.1452024-17-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/xmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c index 2992af03cb0a..051411e86339 100644 --- a/drivers/mtd/spi-nor/xmc.c +++ b/drivers/mtd/spi-nor/xmc.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info xmc_parts[] = { +static const struct flash_info xmc_nor_parts[] = { /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */ { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | @@ -20,6 +20,6 @@ static const struct flash_info xmc_parts[] = { const struct spi_nor_manufacturer spi_nor_xmc = { .name = "xmc", - .parts = xmc_parts, - .nparts = ARRAY_SIZE(xmc_parts), + .parts = xmc_nor_parts, + .nparts = ARRAY_SIZE(xmc_nor_parts), }; -- 2.30.2