From patchwork Fri Jul 28 21:53:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Yang X-Patchwork-Id: 127894 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp749368vqg; Fri, 28 Jul 2023 16:32:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlES/5OnCJh49pCnapqRB0VIXQbeAV13CTjS56mLID9lTHLUHnLrOzr8VF2tCxV2J4Uja/u2 X-Received: by 2002:a17:902:a717:b0:1bb:7b6c:9837 with SMTP id w23-20020a170902a71700b001bb7b6c9837mr2370500plq.49.1690587169015; Fri, 28 Jul 2023 16:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690587169; cv=none; d=google.com; s=arc-20160816; b=IdIVJtq32pB6FTln8dGh7bSLgiNRn8PT4jT/BZvoXKOr8oc1QYvO35SJ1LBnBuYETZ oxU7Mi3wMH4NcgWCx6b2SoUc6M1PqOVOvIhMuodr0+sjK9rTw1m5q68N3h1s8/Vigiy3 Cryk7HCp/MpFZCDMBtd+QTexgzNvGg29MSYe9OuHlgV2H2D8o6Otmz+w2vBj1G71dCTS mQDJGzzS3mPVMt4IOUxh+SodaMZKmbI73nXnQejlFgkHQzEh1jeQjWrvk20GKD1mRUnU uh2mMDwJsnMtZj8vHPPItp7CSWeI2misFo7ldq+ORF+Q5SFZ42xB7fZsgZ5aY6p02scJ 0W/g== 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=T26nAfXpNueqXH8JEj+E9uypRKkFNG0OJn94bnUH5x8=; fh=NZATeoRc2Ji2IGzBzvRT3RGgKso7U7iQnY4+E4XtHEM=; b=LZKZsRGzXz3DVRE2B+aSK0HX7lGkAOp0FBlaBeTA5kBmEFtHdfR4DKvk2/KfEuKlJn EQQnPwVlkvVrak2kpeo4SDarILp1AChKi7BOJ72wjnflS7wlXKNN5DMVTZz/VCm2rtrG 7HWRnk7+dYOQuK58TOugtTJiPBthUOd59Rz+phzNZ/0M0pk/Xg8ZfWNDxHS2kUwu9Fem LIObEXXoj6YnU3xw1XZbnEtCFBDT2EW0FYpdk5GJMl5ZtBOD+dHr+FB8tYC1+wZLtHhd wT2O+lcSCbaE26TBYXNSuoxkaiQ0Zo+hNFfsN7YATv4XKbv1nBF9Lqz9KMUo0fnaKXhO DZWA== 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 x24-20020a1709027c1800b001bb94f4112dsi3546535pll.580.2023.07.28.16.32.36; Fri, 28 Jul 2023 16:32:48 -0700 (PDT) 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 S234672AbjG1V7C (ORCPT + 99 others); Fri, 28 Jul 2023 17:59:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbjG1V7B (ORCPT ); Fri, 28 Jul 2023 17:59:01 -0400 X-Greylist: delayed 324 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 28 Jul 2023 14:59:00 PDT Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EFBADC; Fri, 28 Jul 2023 14:58:59 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8F9462010D4; Fri, 28 Jul 2023 23:53:35 +0200 (CEST) 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 56BED2000C8; Fri, 28 Jul 2023 23:53:35 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 0913B40553; Fri, 28 Jul 2023 14:53:33 -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 v3 2/2] net: phy: at803x: remove set/get wol callbacks for AR8032 Date: Fri, 28 Jul 2023 16:53:20 -0500 Message-Id: <20230728215320.31801-3-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20230728215320.31801-1-leoyang.li@nxp.com> References: <20230728215320.31801-1-leoyang.li@nxp.com> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1772709131560206827 X-GMAIL-MSGID: 1772709131560206827 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 Cc: David Bauer --- 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 1d61f7190367..ad4180addfb9 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -2055,8 +2055,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 */