Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp244154lqs; Tue, 5 Mar 2024 00:03:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXa4Xv4H7jEMCsYzwnw8RE8a1vCdA4HR0yDWPltk62AvP0GNrrFQ8O8VFOoC3mCcAAKD6A8rfeGIX+zXUkgjFcAJsmyEybxvj+57Aq3Xg== X-Google-Smtp-Source: AGHT+IFSaK8IECX2eOw+vKwJ9ZKpRX95byWLenR0m6l7QJbo0xzdOBfGDQKieGRhwchbs4BETvJ1 X-Received: by 2002:a05:6830:1483:b0:6e4:f496:54c3 with SMTP id s3-20020a056830148300b006e4f49654c3mr1459748otq.19.1709625787535; Tue, 05 Mar 2024 00:03:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709625787; cv=pass; d=google.com; s=arc-20160816; b=QUF5vu9aXDHys2yKVgAF52p0FUAOdjpcFGzY2c0/wyzXXDcFlKAXwzQA+odhLq2Gpy dmRDLfYixXOMrT0m+9OUJ4StcyFsPpDA5AeVa5qvDncAt6QAq58690uCwe/L0UhqkF/x i7h4t/wHi6sE96CmOn3ZlAV94pVhghti6j2Qqjqf0qHZKktr0XGOaG4s+NrhsMA+TLDn 39Qi5OhUjCP5qTEHSAuDenF49n3aAaWjZe3521PBNKKz3T0akImsx08rLISHyGqfrX4M 0jEIAMDqGOaWak4MZmbIZVkpJylHp+okGUoCH2+GwVRCtUcNqza9O4zV5kLh8xA7bSKR dAfg== 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=oakz5iRLXqaLgr3n0y9kd+HKbLMoeNFFo5lArF4Abm0a9FcDXcrNZLzbmLX5H3O4+Y Ly3syeYDJ9oEUxIRZRgcAn3rVNkFDBLAkuhW0+GWEz6UT7qEBe/f6A3qrT3IARDCriwI 6tyH6Aqpg1MmE0Wu/bOZT75MCpMrtzCCjYiVnSqeeyfAWcDt3Bi9y2vxqtqCcxatd164 zEsQdlwkK8WjdxWXpLrznmjRN1UyYGsdiqAiANvpZRpSB+4aBwZpyq7fwjEiFqBhpyJn JoUEVbpXx0nYgLsi2ByHIsUC6b08LeGxmZ9p2VJj/IzIQP72FNsd02kMDNTI2ju66yHB GlmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BTGjPqr7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v13-20020a63480d000000b005dc4328dc23si9627186pga.780.2024.03.05.00.03.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 00:03:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BTGjPqr7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-91842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91842-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 995A42850DC for ; Tue, 5 Mar 2024 07:53:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC0CB81752; Tue, 5 Mar 2024 07:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BTGjPqr7" 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 E98847EF14; Tue, 5 Mar 2024 07:51:12 +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=1709625073; cv=none; b=uhgZasJXeXwHRr9RY2ZwpW2VHkA8uQTygaOh3jQnATxNxp2l/o1gupscH1JO4oOpvk7AGLfHWKwZItXrdPg5MWcDVnw4KjqVVB+YqSStElW47CKo8l1RQ2qBFgjvqZWfKQg3GLJhkWMwkJC0tmCuHwZEVhOwQJ6ob8eMwS49Y+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709625073; c=relaxed/simple; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k04WKjelqdd5cjwbCWrNDZrAH6fI/2LQB71Zts5jdpYmLF5Io7IZGmtP/8VbC6xqtMdx00CYoU5gCYFt77sWbNTId2IuN++uk4rgJFwwm1MhEutJDQXMsNMtR9sK6n01C/olHwRN7wsPGxqwdxrF/WozAakWoM69awx/+zCbPuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BTGjPqr7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 904D0C41613; Tue, 5 Mar 2024 07:51:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709625072; bh=9Khh/08IFLqiyY4llHeSF9dpSr+y2mbDaYQQexylJdQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=BTGjPqr7Jt3wu8tr5nCeqHVu9ii1ohkz/vocm8RCYU4G0zuuk2vgsOPFK7RX6eE8C wOcZzSi07snQNwJFidVUaHe/qeV5sh/3tzVOd5xBICaaT9SucDJh8IYlMh0ZqqyR/M 8nuIpWVXxxXhwIa68zMlAiOQrDqpRgTc0AE47k5GtcNwCwxA0Ec0Xto9USnHyQA+TB SzMf+OL0GbpOw8cSf5LJGwX5AxdMdIQZmnW8QhAvI/gHe5/YCOtRFevO1rFkgpbMok HqAZ9nt/Q/SbWoEeq/qFVjLdKUB9/cVovJ2ZKpYmKG2fHCR1zGrnZYnItkWhhPmMo/ JNC5MMU1rNaqA== 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 7D958C54E5D; Tue, 5 Mar 2024 07:51:12 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Tue, 05 Mar 2024 15:51:16 +0800 Subject: [PATCH net-next v8 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: <20240305-net-v8-7-166aaeea2107@outlook.com> References: <20240305-net-v8-0-166aaeea2107@outlook.com> In-Reply-To: <20240305-net-v8-0-166aaeea2107@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=1709625070; l=937; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=aaQRrOl6ezTfgk2jYZxmgPEEzwU/YKquwXnutXaPBpI=; b=1vU1xw9mdYje6iKA4xX4QXA1ULcHxrhm/Sh+Trhc/gkCzGQm6p8f/h2Pi+1PBI65CySzmDN9Q hytHwzB2j4SDMdZ4sb7Gx/hp8ZCTHYCASnc8XS8hwGzHsuJQiVjjn6U 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