Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1056235pxm; Wed, 23 Feb 2022 17:01:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwm2o1B1uJ9k4hVknEy7JvlZ8rr7GAxGYRPrOq6JPmoJZ3Ot2Zm0Cr0In5qt7TTdlBC752Q X-Received: by 2002:a05:6870:a689:b0:c5:fe1c:ae4f with SMTP id i9-20020a056870a68900b000c5fe1cae4fmr71568oam.202.1645664471948; Wed, 23 Feb 2022 17:01:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645664471; cv=none; d=google.com; s=arc-20160816; b=e99ESgTAUO9AAXr74Itw4EUH2Cuaez5J8UiZ2eT6zaBC2lbNgL+tB9toF5eXJBO4Sp HrWWWOhrF61o2PVqsEPcX6VcIrRF5Mty6A5mBOCcAQ99MhEZBsn9izXH4z4+JXRJlZlf 17R8YH1MfFSf+WH4dKTAx/j2IKryKDypOZgr5UFO2f5OfchYPyCuFTJk6qJiDfAB7PNl mQU2yEvHbYcK3WUjxI8m3igF9TYnpqxndX60tG0ghEEfRpDg+l9XUYZH8wSY1gOLks1c QH4KcIP7VQfXS/aq0Tb5wbr8U5rNxIrMI7cYpyKS14WyozucxHrPEd7qugdJpqK0RcyF p+cg== 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=nvEr6G9dficcmukv0DH8TkWOS6x8eCo7LKw8so44zF4=; b=ASqzXfXxKKNPhKx0jKwsCgmVhYjP8bJQvu8LKmX/HXge8kCkIVN09H5RyZupoGc+6H gbDJ+lJmKR0Y+j+83f84EMTGlnZgqFgS6o/P91A6JZB9azTAnPcFykNGP0Vty8EM4YC0 /ERwVzRIj68ToFjyLALdrxQGeof9psp9jArDsa6juqitXdszlC+NjUOVf1NwXnL3H7jz 9EpB2DVicWsO4sjGhzKGxMJgZNryTerq4ArmokG56dfLCHIBymDsIJiugEx6gBq8JymH eJbE8b49PY0fjAFL2WXZ2KznggbYmHrSmxrRbLJYwsFNFVy2yfxvlc0X9zO0rgu6HGor eNfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=EO7EOA14; 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 23si515854oir.40.2022.02.23.17.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:01:11 -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=EO7EOA14; 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 3717D12E150; Wed, 23 Feb 2022 16:52:10 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241120AbiBWNpH (ORCPT + 99 others); Wed, 23 Feb 2022 08:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241037AbiBWNoi (ORCPT ); Wed, 23 Feb 2022 08:44:38 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D43B9AC904 for ; Wed, 23 Feb 2022 05:44:09 -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 C0E5622441; 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=nvEr6G9dficcmukv0DH8TkWOS6x8eCo7LKw8so44zF4=; b=EO7EOA146pRg5W7/rayg5kVRI48qM77sk7J7J/+sR7k+uBuBxh+pmaWYZaFs63YonwC/dY y2qTJRXG049fg8B5A8e1tVS9SDwF7xVeEnlsP/YbYLOdER/jLCzFpetrbgUAnnAOGariTt ZlsdbajSWZ/kZr8XlgKCc1bpQwIAOzc= 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 09/32] mtd: spi-nor: issi: unify function names Date: Wed, 23 Feb 2022 14:43:35 +0100 Message-Id: <20220223134358.1914798-10-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/issi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/spi-nor/issi.c b/drivers/mtd/spi-nor/issi.c index 23629b919ade..c012bc2486e1 100644 --- a/drivers/mtd/spi-nor/issi.c +++ b/drivers/mtd/spi-nor/issi.c @@ -29,7 +29,7 @@ static const struct spi_nor_fixups is25lp256_fixups = { .post_bfpt = is25lp256_post_bfpt_fixups, }; -static const struct flash_info issi_parts[] = { +static const struct flash_info issi_nor_parts[] = { /* ISSI */ { "is25cd512", INFO(0x7f9d20, 0, 32 * 1024, 2) NO_SFDP_FLAGS(SECT_4K) }, @@ -69,18 +69,18 @@ static const struct flash_info issi_parts[] = { NO_SFDP_FLAGS(SECT_4K) }, }; -static void issi_default_init(struct spi_nor *nor) +static void issi_nor_default_init(struct spi_nor *nor) { nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable; } static const struct spi_nor_fixups issi_fixups = { - .default_init = issi_default_init, + .default_init = issi_nor_default_init, }; const struct spi_nor_manufacturer spi_nor_issi = { .name = "issi", - .parts = issi_parts, - .nparts = ARRAY_SIZE(issi_parts), + .parts = issi_nor_parts, + .nparts = ARRAY_SIZE(issi_nor_parts), .fixups = &issi_fixups, }; -- 2.30.2