Message ID | 20230221231411.7786-2-leoyang.li@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp281419wrd; Tue, 21 Feb 2023 15:40:38 -0800 (PST) X-Google-Smtp-Source: AK7set8iNpQHM2lqKpZpnpC1B+V0cpIN/f2jfIktrflwGYlBPBaPPt+2hlqtivMIWuUVbII5sjkY X-Received: by 2002:a05:6a21:338d:b0:bc:333f:b958 with SMTP id yy13-20020a056a21338d00b000bc333fb958mr6353031pzb.30.1677022837856; Tue, 21 Feb 2023 15:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677022837; cv=none; d=google.com; s=arc-20160816; b=HQKklrj3A1Hu7Y+gNZYsRqJ5vAla86IJyfqDh9XSbHTwX0sX78ktf/vV5jR4QiCCss hxOrpNSzGZCyc+8p0PT9KcHVCRM/c766qGj0uiPMIIF5QTSPE+tv6u1YLsTARtVn8/La 0MaUkPfol+i/WraqgmlPN/9XhVGL6AGZvHd38tl1N7uk7PAFGwhH3sXrhuFLKdG0tTmo qbbWmq2/JPTWSnyL3oS2SR6sJnMUldQhpH20NfCTQPAkxENgIefNzgj74y9fcseHQser cqUe5t/XVcu/lJ0Ys1J0BFFRiuWxKSOMBp7BReNOAJXsVjJMHz//N13PBlO0RmkDT1cS Pc7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lwBK8CvbMsN6vk37W0UJGjhkJtDnSHmMbJLrFUoDfYo=; b=q6XdOOwAFKREbHpDnH3rq1TFCJr23yTFo6ncLrNJEN/0gcYQYueUt83ucyDvFtpZQF eVJ4VgapR7GA5NBLs/9oLGU0DnroPHQTBlRghA9F4x1U0U4xvNLaPXKIGGsTImKxzaqw iUsXXbz12wq6raNVp0pz7A5FjFyK4QhJ0aNuI6CbK5O70RZmL17tktza7J5oKK0qJrDo 7py1oIUjsUIUBJhrTk2JdRYkNakTHuN2u8zdAlTrtO3XDphIX54NApmbkNX2x4GUBnHr 16biFuZZku35ZyGWJugoJcULBsVAOz+zFMMv9ZcIRzRJ4me3E5O7zfJLBnOBrIr5whIw OChg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y190-20020a638ac7000000b004fc21b8bd98si19059452pgd.328.2023.02.21.15.40.24; Tue, 21 Feb 2023 15:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230363AbjBUXOd (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Tue, 21 Feb 2023 18:14:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbjBUXOb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Feb 2023 18:14:31 -0500 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B85A72E811; Tue, 21 Feb 2023 15:14:29 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5B1F61A0924; Wed, 22 Feb 2023 00:14:28 +0100 (CET) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 213641A003E; Wed, 22 Feb 2023 00:14:28 +0100 (CET) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 1793B4022E; Tue, 21 Feb 2023 16:14:27 -0700 (MST) From: Li Yang <leoyang.li@nxp.com> To: Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Luo Jie <luoj@codeaurora.org> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang <leoyang.li@nxp.com> Subject: [PATCH v2 2/2] net: phy: at803x: remove set/get wol callbacks for AR8032 Date: Tue, 21 Feb 2023 17:14:11 -0600 Message-Id: <20230221231411.7786-2-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20230221231411.7786-1-leoyang.li@nxp.com> References: <20230221231411.7786-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758485899585618906?= X-GMAIL-MSGID: =?utf-8?q?1758485899585618906?= |
Series |
[v2,1/2] net: phy: at803x: fix the wol setting functions
|
|
Commit Message
Li Yang
Feb. 21, 2023, 11:14 p.m. UTC
Since the AR8032 part does not support wol, remove related callbacks
from it.
Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY")
Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
drivers/net/phy/at803x.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Tue, 21 Feb 2023 17:14:11 -0600 Li Yang wrote: > Since the AR8032 part does not support wol, remove related callbacks > from it. > > Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY") Is there a reason you didn't CC David Bauer <mail@david-bauer.net>, the author of the change under Fixes? If no please repost and add him.
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 2102279b3964..ac47a1d681b2 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -2079,8 +2079,6 @@ static struct phy_driver at803x_driver[] = { .flags = PHY_POLL_CABLE_TEST, .config_init = at803x_config_init, .link_change_notify = at803x_link_change_notify, - .set_wol = at803x_set_wol, - .get_wol = at803x_get_wol, .suspend = at803x_suspend, .resume = at803x_resume, /* PHY_BASIC_FEATURES */