From patchwork Wed Mar 1 03:01:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Yang X-Patchwork-Id: 62733 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3395608wrd; Tue, 28 Feb 2023 19:05:02 -0800 (PST) X-Google-Smtp-Source: AK7set/DqeryJV2fayu39D72aOfeWTDA1TgASMaKFb55p4b0bcZJhRx2v59Ks48abXa4JTyrsy4q X-Received: by 2002:a05:6402:27cb:b0:4af:63a7:7482 with SMTP id c11-20020a05640227cb00b004af63a77482mr16722124ede.19.1677639902503; Tue, 28 Feb 2023 19:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677639902; cv=none; d=google.com; s=arc-20160816; b=Xxc78KTkFHuCOEPpTUMIgG88EhRoCoF+akXA9CCfVvYI0cH2lBLNjYiH6QlUdYBdN2 CQAoywqlLSCMe8UrfQhJzmgFkm5ScUIoYmCCnqbwh5xcuCmjATlZQFDBmqjbhEEs8Dks M/UZ8iWX3e5D1yRrZmS1VKpCCIDccqYclBZqcu1vUYSmLX1F2Gdu7YKFtN9WGRjEAIsK cuOT6Gy9FrdSF+Lgkn0a9TRJQH0TsN7pB17taqFv+rosWjLkt1rJnJNIiPi5c5vFG/ta RYyp6L8r2sAyzwW59FZyXHKeaVF0TYzXAZcLpHiUY0dt0LGFBK7Nsii4KjrdhK0vf6Uq 3LMg== 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=4x6B/nY273hPFvF+V5ainzAvZL3rg9+tIt351tBC63c=; b=sUgprDEn/YwujUL/ULClV22JOKqgnE1GQmIXGWtpp5uLPS0ltfd4uNi61RDSTK90JA kxifb4qdGXM4MpD/Scg/HRtdwzEhILN82PvdcXTT2LFDwt8kfRhXPRTvm8yjJq7/Rt/J GEOMV6Ui/FoexDyk+tKLkh738OiOLjmZjUgLsTH04BZ481yOW7tSvLTWUmmSisz+idPl 5IlUqWkwCHa2yvh0q5hTcTcf5nwht8ReYzeRj7WzWb+L/84xvA2pgIldcpsBLtQ2D0cT /uV5TI8dq539O2eErjdEkBg80KoH2yABt9RErSawYVgjpFzhurdAHcg97cVsBe8iQx9k QVtg== 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 i19-20020a056402055300b004acbdb25b3bsi13204744edx.628.2023.02.28.19.04.38; Tue, 28 Feb 2023 19:05:02 -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 S229887AbjCADCW (ORCPT + 99 others); Tue, 28 Feb 2023 22:02:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbjCADCT (ORCPT ); Tue, 28 Feb 2023 22:02:19 -0500 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B30251CAD8; Tue, 28 Feb 2023 19:01:56 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 523891A1B45; Wed, 1 Mar 2023 04:01:55 +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 118561A125C; Wed, 1 Mar 2023 04:01:55 +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 B1DB74058C; Tue, 28 Feb 2023 20:01:53 -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 RESEND v2 2/2] net: phy: at803x: remove set/get wol callbacks for AR8032 Date: Tue, 28 Feb 2023 21:01:26 -0600 Message-Id: <20230301030126.18494-2-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20230301030126.18494-1-leoyang.li@nxp.com> References: <20230301030126.18494-1-leoyang.li@nxp.com> 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?1759132938531291476?= X-GMAIL-MSGID: =?utf-8?q?1759132938531291476?= 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 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 */