From patchwork Fri Mar 1 03:36:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 208629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp838776dyb; Thu, 29 Feb 2024 19:39:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWW60RISVaxCFIgC1Z+6myxn0ric7qemXI41PDQq2lxwDS+KGrdUzicgBCao7L4dpP/tOmdepIvzk2zv0AJOgAIEYVbeA== X-Google-Smtp-Source: AGHT+IG+d7NlgYjBM31j1FttctZCYq4ckuup5cxf4HiuimyfTSFO1wEzT4tLTB1Ycciuf/wH/aDd X-Received: by 2002:a05:6870:bb06:b0:220:9f9c:2bd8 with SMTP id nw6-20020a056870bb0600b002209f9c2bd8mr487863oab.4.1709264344800; Thu, 29 Feb 2024 19:39:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709264344; cv=pass; d=google.com; s=arc-20160816; b=h8d3GcFwVeodLw6XxllVxqVYgAMXsyzjbj++FlWX7suNeOMQ23hb4Gzy2bzSNUJiah H/C5LCe8QV8m7oJcHrBEkYYIapkh2LL2saXTl5hBdLbEEY3t3Kw0E1F/Qi+/b7IytS0K fs7tnDfwh6NGXwGe/sBV3DMuFo6IWgYevdPbaGtSoFpeuKJWqd+AYI4+YnQdMKif7qAb idb6Oa9h9jNbaBeaiGn+je72h4iMsM1MqbXkXzG8gDY7JSco3L8TRGNeCdq+XrFWKVMx iZEjQvCTkFTKv0o7LN3d03F68ReBN6Bpx5o1Ne+TcwWgx8wUo/L294W+L3MZAOG5/Xyj HiiQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87871-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e21-20020a62aa15000000b006e48974006csi2531571pff.72.2024.02.29.19.39.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 19:39:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87871-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87871-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9310E281C45 for ; Fri, 1 Mar 2024 03:39:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D4C956B87; Fri, 1 Mar 2024 03:36:07 +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 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: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792293569911422539 X-GMAIL-MSGID: 1792293569911422539 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",}, {}, };