From patchwork Fri Feb 24 22:51:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Yang X-Patchwork-Id: 61461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1206202wrd; Fri, 24 Feb 2023 15:26:44 -0800 (PST) X-Google-Smtp-Source: AK7set9um0TnJzbztJ6ex+A23khkKzufE2HG4yq12yukAX4eZg4WyxdbPlp9Nxn5KxTR+xwwhrLY X-Received: by 2002:a17:902:d2c3:b0:19a:80c9:2cd7 with SMTP id n3-20020a170902d2c300b0019a80c92cd7mr19478523plc.47.1677281203989; Fri, 24 Feb 2023 15:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677281203; cv=none; d=google.com; s=arc-20160816; b=Uupk5VeBYNl//f05GmBRE+or0PPROWNaTqP3O6T2f5x0iY8Mh3ukrTpGbkZn5exKw3 E63uYj3W3mENDeq3TgGIi/thUThZ+ZqAbQAvW4Q4iClAHmSV7oYpZkVnut9VEcnFSnRy ft6GA3Du6tXj1evNCe7xVrqXa1yU1i8sP1VXPTeoBTcGGX74HwpPgVXt6/tJ7Zy7RWs9 Qy4unlHFxbtR6EvuNe4Skpzs8FsmowHNMdsYqwT7nOhLVg8sysVwAYxrE7ew8ObrwGOh +n2ba4L2gtUD1KYdYSGaJMPEa9RSTxHU8Yh4QA2aMCmWgIbtOMq1yXcDrEy3+TLzs+12 oE6Q== 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 :message-id:date:subject:cc:to:from; bh=lwBK8CvbMsN6vk37W0UJGjhkJtDnSHmMbJLrFUoDfYo=; b=upvNWYa/kRTv+66AG8OxcQcEH5fUQisMesI3l9eEEGW1DkhOFt9fpog4pl0Fu2gV6p r8bb6W/JdUSmE2w1YeOvMRBUXnKpnJLYxwjkKL9xQw4f6hZltq4zWnXTJ9Izq+MKqolq 7U3vi0gZ3ypPaeUTmWtVL03RF+KUjQgILg4Zj6dZUnsTC3gWJQe2aJ9kqJ9BWZk6p3GG UbyzT4G1agTWes7YsWUHvRuu97tECfaWx/zohS7G+hxZOHU10mBVGTVfxkmF4qEEKbSV Ec5+vrX4llI7CTnlWh0+3i9DcuXSjlS4GyKA6eHE7I+hd58FXeqXWLjRrwgKM7r55XBh ZaQw== 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 jh14-20020a170903328e00b00188ef2314b2si176401plb.79.2023.02.24.15.26.31; Fri, 24 Feb 2023 15:26:43 -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 S229676AbjBXWwO (ORCPT + 99 others); Fri, 24 Feb 2023 17:52:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjBXWwM (ORCPT ); Fri, 24 Feb 2023 17:52:12 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A9E85BB96; Fri, 24 Feb 2023 14:52:11 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7D77B200361; Fri, 24 Feb 2023 23:52:09 +0100 (CET) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 42ED6200340; Fri, 24 Feb 2023 23:52:09 +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 14035402F1; Fri, 24 Feb 2023 15:52:08 -0700 (MST) From: Li Yang To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , David Bauer Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang Subject: [PATCH v2 2/2] net: phy: at803x: remove set/get wol callbacks for AR8032 Date: Fri, 24 Feb 2023 16:51:58 -0600 Message-Id: <20230224225158.12229-1-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758756815539244147?= X-GMAIL-MSGID: =?utf-8?q?1758756815539244147?= 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 --- drivers/net/phy/at803x.c | 2 -- 1 file changed, 2 deletions(-) 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 */