Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1022588pxm; Wed, 23 Feb 2022 16:09:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5FFpZNl6heQ3K0scRAZjwmNiASc8BMaQcR/QECQf37q6mB+ml/O53rDlDJ8LA6BsTHyxb X-Received: by 2002:a63:f011:0:b0:36c:2da3:32bc with SMTP id k17-20020a63f011000000b0036c2da332bcmr227072pgh.40.1645661369291; Wed, 23 Feb 2022 16:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645661369; cv=none; d=google.com; s=arc-20160816; b=nmSbd+D40cFzH6JWsGVcw4jlntWt9+Jyi2W7sBeaOI8YlVeTr9rvOnKN0aTmsyuw7Z M66cW0aw1DPVmyPoQF8Emi9LeO8FIuAKHLYZo2DUmlw9I+Y41aXipfCqiuiqcUdvcNjQ aF+AdqHH/H3u0Rr9d1ud5hnfiqvVFPlDZOlvZQomh6/RILm2m434nleOQn1ldChy1FoH EKFmX4fZAubkFuSZmRBZTJ0aKNQcMEvqecXHtueHlxppIjNQzTv1OLcci8+q+cl+Qxmn IhUKTKh1lXtzD8nb+CrrvZS+I/up6c7FoDdHvgTAAd57IJ/qhpvODpwMJUmclfqyCnUJ ZFOw== 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=n2zFeBW08LKPxKUdmwNwuWbORM/DAXB9DRKqA5JCYYI=; b=0TVbyw9NXUFTb5BLkdj31FRIXCY0wlCeVmBL1NguLXcrdbFCeb0ontr7JAmCh5FLb6 H1ogdwQ0u13boh5ikq1P5rWskh/5CXu/6sNqpORc0ciDuTRKI2+Hp1fEvTjqmlvx3bHe 6ygoG83eabCJtYOUTALIS2gu5Pm0vq7Sqig7Y4LnxDonVGc34d2y28KBXqo8xzI5glH5 hjkpUq88Nhbl3NkkcZ5ar/gLBQVLtWyfFkABAPP0OaCj7r7vY7K8HBW39ySd4e5D61qw 40eSp9VFnF1dh185H9Eu2ME9+151uKRzw+yKnXeGgRWeHMjJN3eieFRljFz1jcXuceiB 4hvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=SyafD9sD; 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 b13si1289965pgn.72.2022.02.23.16.09.12; Wed, 23 Feb 2022 16:09:29 -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=SyafD9sD; 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 S241122AbiBWNoy (ORCPT + 99 others); Wed, 23 Feb 2022 08:44:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241029AbiBWNog (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 63EBBAC902 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 58880223F6; 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=n2zFeBW08LKPxKUdmwNwuWbORM/DAXB9DRKqA5JCYYI=; b=SyafD9sDpoONl3FwW5aP/wKWvOkXq+vmEzxW/tM15zPWAmk7B+C+OYISYXNusQEwjIseyc 7Ru0XpKpYdjysqbcCkbXTrO+14UN2VASGpYgtKrCAOfesFP4TJ14XxHS0Q0l9P56xNagBy +yBMNYtv3JspTtC9u6yi0fzpHA7RroQ= 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 05/32] mtd: spi-nor: everspin: unify function names Date: Wed, 23 Feb 2022 14:43:31 +0100 Message-Id: <20220223134358.1914798-6-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/everspin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi-nor/everspin.c b/drivers/mtd/spi-nor/everspin.c index f6c6fb36a428..84a07c2e0536 100644 --- a/drivers/mtd/spi-nor/everspin.c +++ b/drivers/mtd/spi-nor/everspin.c @@ -8,7 +8,7 @@ #include "core.h" -static const struct flash_info everspin_parts[] = { +static const struct flash_info everspin_nor_parts[] = { /* Everspin */ { "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) }, { "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) }, @@ -18,6 +18,6 @@ static const struct flash_info everspin_parts[] = { const struct spi_nor_manufacturer spi_nor_everspin = { .name = "everspin", - .parts = everspin_parts, - .nparts = ARRAY_SIZE(everspin_parts), + .parts = everspin_nor_parts, + .nparts = ARRAY_SIZE(everspin_nor_parts), }; -- 2.30.2