From mboxrd@z Thu Jan 1 00:00:00 1970 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 1EA8152F8B; Fri, 8 Mar 2024 08:39:45 +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=1709887186; cv=none; b=pd0XAJWtvgkeeeL8gMAPCH9gdARn3JDeT0XyoKoPk0wTKTheBnn6VCfDjXk4IMeYG4ZfTLQ6OaglO4yUChbykGPnnv5eLzIvlv+fYAHB26xo4B8Lg6PrSgP1s3Juff5IN3cZR/TVFMqaD6Xc8stcyey4Dedy4gxRJdoVIZlI0Tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709887186; c=relaxed/simple; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sJKkZvgRIbuGw5D0DMzuxopBxnQn8k/qvAG3mjOu+udrOWoYBbWfqoJfssenqstvd4SHIs6+pThjWP4fJfG83+kU2ZptAlx3WnR5B/ILYPj2lH/cVZBV88T8qwgHRR3Jbz9eHwt55R7rADhWxFfWYD1VWimKQonL5/HT22YwS60= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FST+XwNg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FST+XwNg" Received: by smtp.kernel.org (Postfix) with ESMTPS id 77E08C32780; Fri, 8 Mar 2024 08:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709887185; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FST+XwNg3l9VmGBNHWKlIVl+jjMPSPhz7OUOCt264N5/qhKQnENS5kmJNaAPy+Rsz 391uzlm0yS51dBvXZJv4cLr1X0K1DPnOw+s2zPUVRY0KGMVUtvnP6McUtsc1y9ZiZO 5aQj4OvAEfxPxuEe7hzivMU6GJGQVoJQBmPV26Oyu+D8gP/BQCFLCmyWmDC5ThPSDH RaoG/pjnFdPz6lMMQ7wva81YOHL2jZzuWGw5MDr2dgBWRwTQVbqiN90dHZh170VxtN KRNwuT2Hf1p2gEwv0AB8fn0P5reAZqx+Q1wq1/ik1R/fwXr7YqVhckMVxo5ApYmXQO eQBgDBU1HGvKA== 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 64BF2C5475B; Fri, 8 Mar 2024 08:39:45 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 08 Mar 2024 16:39:49 +0800 Subject: [PATCH net-next v10 7/8] net: hisi_femac: remove unused compatible strings Precedence: bulk X-Mailing-List: netdev@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: <20240308-net-v10-7-3684df40897e@outlook.com> References: <20240308-net-v10-0-3684df40897e@outlook.com> In-Reply-To: <20240308-net-v10-0-3684df40897e@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.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709887184; l=937; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=aaQRrOl6ezTfgk2jYZxmgPEEzwU/YKquwXnutXaPBpI=; b=JVDMemOPx6deqODCs4vDjbyLOyfKBWlYFEEXCCqofDUeEfK1FdAi+8scQNRH+a4+s2yZYwoc1 QMgE1Xe2UhPCph6bY/ii33Ivq0SCQpu01e5Q2dRm1YyMaFaCRlBfwNO X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 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 fallback compatibles and only use SoC compatible. Signed-off-by: Yang Xiwen --- drivers/net/ethernet/hisilicon/hisi_femac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 2406263c9dd3..9bf4beba7987 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c @@ -945,8 +945,6 @@ 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",}, {}, }; -- 2.43.0