Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp500184lqi; Thu, 7 Mar 2024 03:47:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWB2KP6eO2EZutFZky6vFTn9MiYYwozGv9NcQEwpl7FOtpmvk73ShXsBp07/mSMa3mslZDZ3Z7sQJ0S/pZI0RJTzwUzSXDxfSk4IdrCOQ== X-Google-Smtp-Source: AGHT+IGn9zNvFfYOwHRzgBNkIh31M7qC+sLG5ZoUsJbaHYiuv6hK7HUnnaAICO/1wkNOPYjfJLt5 X-Received: by 2002:a17:906:3bd5:b0:a3f:ac54:5aa1 with SMTP id v21-20020a1709063bd500b00a3fac545aa1mr13369999ejf.21.1709812054597; Thu, 07 Mar 2024 03:47:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709812054; cv=pass; d=google.com; s=arc-20160816; b=zz0JnQcVOhtda0xEWvK9MdEfr7LhhSMk6Xjwec0uaIvviD9Trbgt9niCgV6ajHbiun KA9nASrAcCS0vNDh2CfI0RxPc3pysEJhyQMyhNTlxWGHuTYwZS0zV279jrSIuVeP7Ryu tMrqC6Vjjm/MGoKRKNfdcvGhmXSL1lntzaJcgdlwsk25bqGxOEJM8e8YEXw8833cpoQh lhvFK1SPR/fDXhoDkxOoAWoIhi4b24GVcJsCyYCls9ylzCpqSgtGDAtvJzFl4hdSD2Sy M9nrsxk94hI4YwKNXp2xTE9fTPERgkr2nt8SIz/JiuooN7ZoFBFK3lsIArT0U7GD0KXG +eDw== 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=RCw04DXv2PRqFrzzIxhToiMiRFXyk+0QDLAr9Spwmi8=; fh=xf53zEEwO8UfwqXA8rNDXb86USgBpvamfpvPadu/NTs=; b=LzYpzsqSb7CxNzRQq4A2lL7uxxk8a5klWZcxG5dHZV9NEcLjz6SCVLjIMPzg5vz82n eCZoY4XRTHg2SCBS5D92Apx7iBM9iTcW/qy0M9uc8v5bhYLTnkurnZwPga35eOlEoPQk WFRMkteR8CuwlVJMzycxQjbSLw0tUGhPe8T9AxLe4Cf2zWj15WEAGwEZVeADEYuNept8 3dFqpPyamRwM01Qf3IzuViRWvDjdd2Ty2fr20iPpX3zOehbTDrWp5uAO9YRwBLN8JEeb 0PwFkn1evECKf7v60lfFktPwfLqvSXGzB3lswmXssxnIJ/yssvJd4g4ypgYzn9PVGKWd PdNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OfIP2RGU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95430-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id go42-20020a1709070daa00b00a441008a016si6881528ejc.462.2024.03.07.03.47.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 03:47:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OfIP2RGU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95430-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95430-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 1DB811F26859 for ; Thu, 7 Mar 2024 11:37:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2423612CD83; Thu, 7 Mar 2024 11:34:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OfIP2RGU" 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 DCE9F1292F1; Thu, 7 Mar 2024 11:34:49 +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=1709811290; cv=none; b=KIvF0Vv2L5ol5UOqodbkaxEmSoZONySMRTGJJEi+QS5kHiseMeOwKMfGBPS878wxTD+QsaqOXxCRQeUBQGzpbxOe8TceLKVho8/lKE06XNx+pIAEdtkiET2nhuXAhjx35QH0vuzQNB3ZssWYXBYI5oZDVgpRkVrkxHoCZBeR1/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709811290; c=relaxed/simple; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XG6Opi3sfhRSDjUt8zu0ArwZn5PHTqpFIfnkflJWwO/1n7RN/UR0w5hw1Kl9kr7gXlVcluHBeNEt4tkFHNGqIKXW3Q14LdxiUE2h5uOU6hghqpMoP3Njdo7KUyO2s06Zlbu3ZyAhotpPEft1umwuP7qMjXq08lT0CSdV6/hV9gQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OfIP2RGU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 8DABEC4167E; Thu, 7 Mar 2024 11:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709811289; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=OfIP2RGURGBqMKfNyEQqerIF9YXDzY6rtjIx765NrpVxV4hIlhnCxJcUWFGgQdaoo RikmYjWD7QslVvKebvkkjj3ujJ8DzR2AKDWyCODPNzSDmTGMOAjGRXovHTaeLu+/Ou XAsCk5NsmBPZd9i61iQuDNTczoFzjUAeJdRXeuXbfxn3KU1RlAyUEYvJxYruzQ2lxl UOwVVIxLISyxBcSmIxkTvqrhFBlpWXNoiMlpOoHnb5fW+NK6EfGmgrWqBRV0gbHnHE 0jdbJruDKzoNrtC2MFl7S/2D1NzPu1VE6y0wCWTzFEXIprGe1kZq+jRklIUj0UIc9E MdySVIU3aGCHA== 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 79534C54E58; Thu, 7 Mar 2024 11:34:49 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Thu, 07 Mar 2024 19:34:53 +0800 Subject: [PATCH net-next v9 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: <20240307-net-v9-7-6e0cf3e6584d@outlook.com> References: <20240307-net-v9-0-6e0cf3e6584d@outlook.com> In-Reply-To: <20240307-net-v9-0-6e0cf3e6584d@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=1709811287; l=937; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=aaQRrOl6ezTfgk2jYZxmgPEEzwU/YKquwXnutXaPBpI=; b=9FmgJapGP/SG0VJpetSvFJunm3iKivW4ooCiGKaNyiSaMV0kNsulIlll/qR3Wo4DsR8YaMdHe 7U+G0o6jo5BAbyGMdUnJi7WHhyLRztA+jgo/S2rZyGcN/Lhq/YDVZa+ 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