Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp146805lqk; Sat, 9 Mar 2024 04:28:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWoO+29T1o7hEf9grycnziRhQPOv3Wb6NKb9/PMWg6IPSYqsjzsENeBnO/lHO0ztXSTXncwvxBRaZQErxlh5LZIk0XR2Szr2c5pem210w== X-Google-Smtp-Source: AGHT+IGbZo1q+cimV+rfIkVt/xZhZIGaAZXSrikGIQ6KsqblMmI9JinAxMD+mlPjZQg/11h5exF1 X-Received: by 2002:ac8:590f:0:b0:42e:f660:8001 with SMTP id 15-20020ac8590f000000b0042ef6608001mr4333983qty.11.1709987328788; Sat, 09 Mar 2024 04:28:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709987328; cv=pass; d=google.com; s=arc-20160816; b=fUjp7jVQPp+lOkLYrjzK1fWoK72XDQCOuJow0HB7r/yUrZ530N8GbeKtO/lac9q5FR +gtA51n9IquZJmY5RtWF7HwgL7VkIzMC04wC6JF29uZqsf4T2FGkjDRFnxeTR2L/55Oq f/M3bEGiGd9FNToYN9xNYQRqVshjF0u5AUybWSkCDaVmq+lC3OyRS/qQUoYQhyPphvRa PDKWVbqzp7Yg2ZW6Qz4xAlwK6SQZI+ZedxCRNGCVxhF3XMIApHQkU8VLHQFWZ+tVuPSV RFk6o62cfYVkKyAbC5x7CycvH0JP9mdr6DnJ7apwgCA1W6ByBALsZCL+QPvl2+sbOsv7 wEIQ== 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=hTzxbrGATiY02+coyrCd8nqIQ77awJYkRq0PDxalfLU=; fh=TR7t0/HIFS7TJMgggPPQqyHSmBG4J3N9Yyv99IDuaus=; b=PMWJ3GE74LXVPYQzgI+TBcL7lA/sybxjIY+1ejrNpv9EAuZ+Z5Zzmis3GL0KHaB7k6 T/JSKyDM9fCnMBEvV9dx4hIzJodyflyTsOKyCigLeGvvx4L/ESQ7w+y0AwMhKzc5wqp9 LW+62MIYbPDwailDq7Gglv16Z3uRmTrd8KYS7FpaWqdv7szqoiYxxQvhP/FDRyaCdCUM vOw1XH1FuaTCToao2fFb8m0I4slnd//CEbwB3jKnzcT6UnXR8NX/y8tZE/IHU/7kl2ld VVvqvmNbiw+ILT1RCQI/55UZsDKJ5DOKbVA5/2tlrkjLlOUY/R/klJb3ZFHn58sL89UE vn4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O0wwS4yk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97882-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v14-20020a05622a144e00b0042ef3a4fec6si1548648qtx.113.2024.03.09.04.28.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 04:28:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97882-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O0wwS4yk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97882-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97882-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7091B1C20AB3 for ; Sat, 9 Mar 2024 12:28:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0002481A2; Sat, 9 Mar 2024 12:26:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O0wwS4yk" 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 0A43C3B2A2; Sat, 9 Mar 2024 12:26:24 +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=1709987185; cv=none; b=ezS3Cd2R40fCH6ZG5ExSE740dL8dc/GWJfuWaSEI9Mv5OFHZKfrpouyTx2/CcP0UyHoJtaKTrU9VoPPNEKyeSTUFBcBD3IMKWC/aArKTZwu12BpmVVFjQEIFZ6m6Mu61dxzoloQap4P9nQqIwjdweN0kJDh3WZj4Sqpo0eWnp2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709987185; c=relaxed/simple; bh=DhcpedOubnECe7b/cBTge5kBP9lF6IUP3AO1TZvZq2E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SJjOqmuREG3rtCcKAZfC2JjgnfTTFkY4VXPQr6JIqnvCBdMQnrHO6B/RmSEKTDzOtdAC0BnKIkiS9p6Ml4Jk0CRhxogAaEonvIv98L2D5u9chXZu/7sbNB8wS3IXY5X+PITdqU5tiZqxTwToz+S4tRr4BDODDYlEciBowHFl8xY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O0wwS4yk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 889D6C4167D; Sat, 9 Mar 2024 12:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709987184; bh=DhcpedOubnECe7b/cBTge5kBP9lF6IUP3AO1TZvZq2E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=O0wwS4ykxVaHbE1lCiX1nrqZxwU4tAbPV1MqLiPm1buwBjb2POXRZvTNX9OlQdDsL s4pIKlI5bvbSt/hAg6a6na15k6MCoDmDFCeJcDn7mHjmul1cnrOG+sLGfMvNY1v+gN /kKySe98duOkuZNjbQ3lW1Bpychpps6OAgADOb1QxZXwcr39SY18wEbqvnLWXjSfDX IPqM+A+u4ERoybh7ZCSKSdV2wynIiKuL9KpuJDTNqSXYd4DcQtvpgJj0ZbtjIazsp9 LN+HDF9CMvqdAuG+qGdJOZSfAfc7lXTywbbedXxW8M9YDn3PzvwOe+gXh4p0sJCxEh Dbqn+RsX+fqJg== 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 7481CC54E41; Sat, 9 Mar 2024 12:26:24 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sat, 09 Mar 2024 20:26:29 +0800 Subject: [PATCH net-next v11 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: <20240309-net-v11-7-eb99b76e4a21@outlook.com> References: <20240309-net-v11-0-eb99b76e4a21@outlook.com> In-Reply-To: <20240309-net-v11-0-eb99b76e4a21@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 , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709987182; l=1001; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=lph+izMyuosipNJp3zUzxyABy7CFBGcgm+YFHBiI/s4=; b=maPjusymXxjRu5XBJlLbrFweG2oWMw4bQlpoFi9RcUFR7mKmhqMnGnjM6fkdL60jThnoVX4E6 ibtkym5ToY1Bj7Yqm43TABNEk7P5DY7dUahxBsFOSaeH0svAn/tTHWC 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. Acked-by: Krzysztof Kozlowski 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