Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp50318lqg; Thu, 29 Feb 2024 19:38:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9VwbvFxRS2Brrr0uPB1FokQAT9W92eqRgQCmzlvM9P9ddPMGrCDU7p6rze5VHlnZhGASmbEQrT9i1wQz9tK8IanC6M9SkMM8U2Yp4Fw== X-Google-Smtp-Source: AGHT+IG+AZjnQxBKksTYiTsy6CmMWSrENGJi+CABd9N2M9Ya3oPnXFBHNCq8aqb+7lIRFGxMM7rs X-Received: by 2002:a17:906:d8c9:b0:a43:e812:fbc8 with SMTP id re9-20020a170906d8c900b00a43e812fbc8mr745593ejb.18.1709264314807; Thu, 29 Feb 2024 19:38:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709264314; cv=pass; d=google.com; s=arc-20160816; b=NdDFsbTv462mkWEij4HO5LSwlPpNKqeW4cjNLPULoY96yJlA0/DCBrKh072qi4f4l4 Mh5lffLNz8/i/+N7lsDtdfcKLajcHEP//QjFk1g0IhADbyuZFSusYthFNvN0itZtOrnw AcCBUp7ew8THpfGWmR76fgACZg/7PD6zgbPAckDDsGrz/RhozX4PXeU47L8/t41im9CZ KIm81UFFMusOj36EkzJS4SYH8TXnx2GHFQKeSg20SnX9/k99lpSJRCQ5vODpQV3XzTLz HxIhfRfF/PP49LESUapcxHT5culD15j5OacI/S4vdvy8KdPDCJekFgehY4FdxxArkqz0 D0AA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=RfKGDfb3amUhM77q3Ry2Yz9Qfj57ZZo7ZnvP6xZsp9s=; fh=xf53zEEwO8UfwqXA8rNDXb86USgBpvamfpvPadu/NTs=; b=o6LuN2Vczw3mqR4vCQIUQZmSrZFizOnhtvhFPSPO3XXwk5pGDG2FJS80xDD1AF5wQA vYwQBZXO0WfnbHr8/rDdFNWI4oKkmocGusBEksFDDANnkYl89Jef/Y+hfrBB3xTazOIm c1ngsuZZDxDw5XQZSmipk4W77h061wbRc4H/jpnhE28vnV4DPco2LdGP3MjklGSV3sRF EszBPjVCnpv8YDAx61WcirHZf2d1mVDJQceZW2IhKmdkN6cMLd35XLyoQ/1BWJ45gTz3 JRTMyw1j1EUXmURUED2M0zL+EV0nq6nslebJOZ7O5OAtYDrj0MZNzoS9cGKVH3ZHYy/y 7ZMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCsNOZm2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w16-20020a170906131000b00a44121af41fsi1094342ejb.125.2024.02.29.19.38.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 19:38:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCsNOZm2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 48B061F26197 for ; Fri, 1 Mar 2024 03:38:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37CCB5674D; Fri, 1 Mar 2024 03:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pCsNOZm2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28C8E482D0; Fri, 1 Mar 2024 03:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709264161; cv=none; b=SjZITtmdendQ5vcA3LHvXzFMIQp51ALmRXZcG4y6k/JEevYT9/5C8Grz5YMdFkHvtUTuT+lmxMSkmTYgeou1dMjbQBhx/Z/eXQ9txlN8s0UHHIpMP+fnFpVETjWieQTgSyVAt4yFQ6G1yy7aWnm7OmsNi+ypoal67uu7O9Byjtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709264161; c=relaxed/simple; bh=11Z9ihFs1F9o4coCr+bkAMvEXdj6rVyn442xR9Dxq2M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FaQZ07EUHGjh2zhIBIbQBbFLdFqXzOMQJdaEi0ipKqwftRa74Q+8kr6G93vD42/Nx6g6qtdkNRSekSNoNALpbvrjmWSIz3k32NhFjGF7gW06oQ5wJI2WBRy1lrjG/1M2TPjKd053rr4a2ztNOkNdwa9GZ2Br5YS/CKQPqZaV1Ik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pCsNOZm2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B6328C4167D; Fri, 1 Mar 2024 03:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709264160; bh=11Z9ihFs1F9o4coCr+bkAMvEXdj6rVyn442xR9Dxq2M=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pCsNOZm2Cfl4AHFNj8aoHoxmHxhpja+H/W4s5PoxdJViH4P6sz4gP/l7bL6aDI3dc zH/bPqKZvj62BI1kj+cvNZgNnRhHuR+XhYbTrbPWHaDE1k19m/PypLOrukSDTB5dHD sb2B6cMNZ9w04lOB4wVXsFIsHwLgRc21OsRfH8Qz/jvqXtcXJX5WFMeZyb/ChglDy7 I2TPS09kkAnrNnMIRU+uV0sQJFMfY5cLlQncQd5LabFNz3SRT+6PAw1m72uhzaFa0a /COuNUKquf5ZqpUG5HmYVj/RgdlB6PRuJdIrLTfiV66X23yT+HRTLe3ZmQCjEMgQWm ocwd102M1F6MQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4FA7C54E5A; Fri, 1 Mar 2024 03:36:00 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 01 Mar 2024 11:36:00 +0800 Subject: [PATCH net-next v7 7/9] net: hisi_femac: remove unused compatible strings Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240301-net-v7-7-45823597d4d4@outlook.com> References: <20240301-net-v7-0-45823597d4d4@outlook.com> In-Reply-To: <20240301-net-v7-0-45823597d4d4@outlook.com> To: Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709264157; l=1002; i=forbidden405@outlook.com; s=20240228; h=from:subject:message-id; bh=yJR/Lso4vTyxua+LycT+Z/1Tv6PHgtjLoMfikCd0gbo=; b=qF36YvzEkBC4gbu8ZacVt7bvEGW7u3W3l04x4zhH6UnfZ3doNYngX+A0hR/F9LC1fba2yTecP PK3V9yf1vAFCgcp0psus12wATixxNzaGWLD09ceH3/S/d/Z0fGPHYmH X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=KAWv6ZzFsT54MGllOczJgFiWB+DuayEmyn24iiVVThU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20240228 with auth_id=136 X-Original-From: Yang Xiwen Reply-To: From: Yang Xiwen It's hard to get the version number for each FEMAC core and it's unknown how the version can be used. Remove them until it's really needed. While at it, remove SoC compatibles and only use fallback compatible. Signed-off-by: Yang Xiwen --- drivers/net/ethernet/hisilicon/hisi_femac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 2406263c9dd3..5a088cba7d4e 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c @@ -945,9 +945,7 @@ static int hisi_femac_drv_resume(struct platform_device *pdev) #endif static const struct of_device_id hisi_femac_match[] = { - {.compatible = "hisilicon,hisi-femac-v1",}, - {.compatible = "hisilicon,hisi-femac-v2",}, - {.compatible = "hisilicon,hi3516cv300-femac",}, + {.compatible = "hisilicon,hisi-femac",}, {}, }; -- 2.43.0