X-Received: by 2002:a17:90b:4ad2:b0:1b8:e050:c7e3 with SMTP id mh18-20020a17090b4ad200b001b8e050c7e3mr2457686pjb.83.1645508046266; Mon, 21 Feb 2022 21:34:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645508046; cv=none; d=google.com; s=arc-20160816; b=RWRzKAWmB5eJ1FGOI2hD6y6zJB7SksRy2WBgaPZW2/ofiYqgV7xDxsdI5gJFfiHGmj DC5pu6uMZ52iRvztqbjBwRoIRjNfr2qKOzPHg1Xtot2e4i2E6ZjIib7QZSCufXrTmcpq RJbV/uUMOl+mLMskrDYmrgyPYWTVBrDKCFj3qJoUo4mYHoZrsmIEfNxNNym+OlnT9kC7 0NGTWdJwPmbPBTe9v2c97VaXAwh2cpDm9PxbtPB0zrPqHzNnTmtSuBW5nGtdFf9Udmky xE4M9NdHaQtrjPzf/GvtdAkAQQgokcHvHOKA+xzfP2T//Q3IToM11W0t0Qd+Rvn7SFNy RbNA== 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=azbyCn7H63CLfj7AEiVLfqfkqDigt6V0iDcOpCpZu90=; b=OqGBvTt3V73jRY27wJ7VJZ2rdruNVj0DtGS0lLEClnD3IMQKlkREpbtddGB8465fBc x3D2oKbL+BOvj7FPK3EK2eDyGGDNU6fDD/emOWAeSWZcGQksWEbCLZeshT4Srih2YYgP Zo2ZUVbVDgs7hx7XMFE3gsgmqOjWNW6sxFhTlOVQ0S9l9ZD08AnG2UwSErgsNAZ8kZpb 5cMObZRB8+bqKbNRovTJ9ewEvi91NfXe05LXxm6FXz9El6EjSlJmFRuYX/xeYuu/zE5Z vRVNaOVNAT423I6H8o1rrbzxiwKbDomlveEzwjjorL3f0osl0DclAy85jOWk0uTIlJ2h Zbyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=oiChbbiJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p42si11771824pfh.29.2022.02.21.21.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:34:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=oiChbbiJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 F113311D782; Mon, 21 Feb 2022 21:01:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345928AbiBUIzJ (ORCPT + 99 others); Mon, 21 Feb 2022 03:55:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345633AbiBUIxX (ORCPT ); Mon, 21 Feb 2022 03:53:23 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4512F1A3B5 for ; Mon, 21 Feb 2022 00:52:54 -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 4E850223E9; Mon, 21 Feb 2022 09:52:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645433572; 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=azbyCn7H63CLfj7AEiVLfqfkqDigt6V0iDcOpCpZu90=; b=oiChbbiJvJXftHzTRNKSFG1UHrZR2m0zarw+YsG2KnGtbFaoFmbuqD7FhU6dZtwGEYH7vA vPxJuP73jXu4dvoBJTc+TaMFOYnp4qHDtT4JuCRJQ52OxihxxePOeZ2ZnuKAZH8dyKgg14 AvBTAPeG0OugMwBo01TeeYyGr7nyPdc= 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 09/32] mtd: spi-nor: issi: unify function names Date: Mon, 21 Feb 2022 09:52:13 +0100 Message-Id: <20220221085236.1452024-10-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=-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 --- 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