Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1040515pxm; Wed, 23 Feb 2022 16:36:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrEIvWPUI9BLh+NYyX4UehJUusrY84o5Pue2hrU9jFIz9/S7ubuiI6NeTUwpmHhIaphIV3 X-Received: by 2002:a63:305:0:b0:374:2e45:e3d7 with SMTP id 5-20020a630305000000b003742e45e3d7mr269827pgd.473.1645662990788; Wed, 23 Feb 2022 16:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645662990; cv=none; d=google.com; s=arc-20160816; b=eRWdQT5WZtnZR77yULLqyVHzmvaW5LOY8xK8naelRM+8X1p1+k1C7BHtVFWhu5dvpO O/GpdgFCLRJujC8rTy2Wq8Hu82fquHxy9Z8b3LOg6h90xJfMc7EjcBK3nRtNH6YgMwMp bvmPhNlfnB6Wd7xmhJZPTPqIWXRgOj8qFGlnCoQP893q+/mSHk1ywn1NoDUxRA0dVxTD ao2hMfHdsuAvlNotpfO0Zt3o+pVNAPimCC8pFHvnNmPC9rtfCCG04yPID85gd2FV7Bzo s6XmYvUbxPl23xLLJsjIeFvHAmF0mJMb2sUHAijgC6r6SB5uBb73s3xN6uxBbIaXI1lq MRqw== 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=012orf1gW76hymkl0C3TlOpBllNWtHPFjOMTZe1Ouug=; b=RX2n3waUrr1kj4Kx/LQmdiRCQ+enIYzvyYpsKagsj6qdknxTh4EG3tmY62kDGy/rUP uTgDuvD0wzT8cE/mVf0SIGRXFIwqbDStDATEJ6Dt4M0Xf8aEmwOT3ePmRO/pt+6Pwta7 vhJbUMhOkkvtLy0EQDdyTe6uSr67TtbYLZ/ni7eR26ifzNc3gUeMVWOVAbheYfZBPNvh vRWrTlkVtEvkc4A8SmNUk6dLfw+/XOps5O6j7O+5qX3E0sFMnNdoAg4w0if4Nnh6LWEM NSEwnZ873m01H88fO8+IKDNNYXdvBmFt7Lhx7R1xV/9oherUALYz9T50HtMaXmSg37jU mSgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=BcY9r8jZ; 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 204si1049778pfu.82.2022.02.23.16.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 16:36:30 -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=BcY9r8jZ; 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 D4ACA9E562; Wed, 23 Feb 2022 16:35:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241045AbiBWNou (ORCPT + 99 others); Wed, 23 Feb 2022 08:44:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238969AbiBWNof (ORCPT ); Wed, 23 Feb 2022 08:44:35 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB72EAC07D 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 1D374223F0; Wed, 23 Feb 2022 14:44:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645623846; 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=012orf1gW76hymkl0C3TlOpBllNWtHPFjOMTZe1Ouug=; b=BcY9r8jZGx0J9qCscmqZ+oViqpmbwFn3tpf0h/jD29aw5s0Hj+gM8CS7+AiqTv9Hxldh8J QclrqqsIo6BADNH8X7/UiP9RyU7JSvVrw33RWlmTouv3l84bW2UzfcK1CAtrCdzyCFCP4V SkmRJOZef9oAiGFG4qPiQ8sbn4rc0O4= 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 04/32] mtd: spi-nor: esmt: unify function names Date: Wed, 23 Feb 2022 14:43:30 +0100 Message-Id: <20220223134358.1914798-5-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/esmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/esmt.c b/drivers/mtd/spi-nor/esmt.c index ace1da221566..79e2408f4998 100644 --- a/drivers/mtd/spi-nor/esmt.c +++ b/drivers/mtd/spi-nor/esmt.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info esmt_parts[] = { +static const struct flash_info esmt_nor_parts[] = { /* ESMT */ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64) FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) @@ -23,6 +23,6 @@ static const struct flash_info esmt_parts[] = { const struct spi_nor_manufacturer spi_nor_esmt = { .name = "esmt", - .parts = esmt_parts, - .nparts = ARRAY_SIZE(esmt_parts), + .parts = esmt_nor_parts, + .nparts = ARRAY_SIZE(esmt_nor_parts), }; -- 2.30.2